REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.65 KB
Close
/opt/cpanel/ea-wappspector/vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/visitor/vfsStreamAbstractVisitor.php
Text
Base64
<?php /** * This file is part of vfsStream. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @package org\bovigo\vfs */ namespace org\bovigo\vfs\visitor; use org\bovigo\vfs\vfsStreamContent; use org\bovigo\vfs\vfsStreamBlock; /** * Abstract base class providing an implementation for the visit() method. * * @since 0.10.0 * @see https://github.com/mikey179/vfsStream/issues/10 */ abstract class vfsStreamAbstractVisitor implements vfsStreamVisitor { /** * visit a content and process it * * @param vfsStreamContent $content * @return vfsStreamVisitor * @throws \InvalidArgumentException */ public function visit(vfsStreamContent $content) { switch ($content->getType()) { case vfsStreamContent::TYPE_BLOCK: $this->visitBlockDevice($content); break; case vfsStreamContent::TYPE_FILE: $this->visitFile($content); break; case vfsStreamContent::TYPE_DIR: if (!$content->isDot()) { $this->visitDirectory($content); } break; default: throw new \InvalidArgumentException('Unknown content type ' . $content->getType() . ' for ' . $content->getName()); } return $this; } /** * visit a block device and process it * * @param vfsStreamBlock $block * @return vfsStreamVisitor */ public function visitBlockDevice(vfsStreamBlock $block) { return $this->visitFile($block); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
vfsStreamAbstractVisitor.php
1.65 KB
lrw-r--r--
2024-08-29 18:43:31
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
vfsStreamPrintVisitor.php
2.52 KB
lrw-r--r--
2024-08-29 18:43:31
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
vfsStreamStructureVisitor.php
2.44 KB
lrw-r--r--
2024-08-29 18:43:31
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
vfsStreamVisitor.php
1.32 KB
lrw-r--r--
2024-08-29 18:43:31
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).