PHP 8.2.31
Preview: vfsStreamContainer.php Size: 1.32 KB
/opt/cpanel/ea-wappspector/vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamContainer.php

<?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;
/**
 * Interface for stream contents that are able to store other stream contents.
 */
interface vfsStreamContainer extends \IteratorAggregate
{
    /**
     * adds child to the directory
     *
     * @param  vfsStreamContent  $child
     */
    public function addChild(vfsStreamContent $child);

    /**
     * removes child from the directory
     *
     * @param   string  $name
     * @return  bool
     */
    public function removeChild($name);

    /**
     * checks whether the container contains a child with the given name
     *
     * @param   string  $name
     * @return  bool
     */
    public function hasChild($name);

    /**
     * returns the child with the given name
     *
     * @param   string  $name
     * @return  vfsStreamContent
     */
    public function getChild($name);

    /**
     * checks whether directory contains any children
     *
     * @return  bool
     * @since   0.10.0
     */
    public function hasChildren();

    /**
     * returns a list of children for this directory
     *
     * @return  vfsStreamContent[]
     */
    public function getChildren();
}

Directory Contents

Dirs: 2 × Files: 12

Name Size Perms Modified Actions
content DIR
- drwxr-xr-x 2024-08-29 18:43:31
Edit Download
visitor DIR
- drwxr-xr-x 2024-08-29 18:43:31
Edit Download
689 B lrw-r--r-- 2024-08-29 18:43:31
Edit Download
1.52 KB lrw-r--r-- 2024-08-29 18:43:31
Edit Download
15.28 KB lrw-r--r-- 2024-08-29 18:43:31
Edit Download
8.52 KB lrw-r--r-- 2024-08-29 18:43:31
Edit Download
729 B lrw-r--r-- 2024-08-29 18:43:31
Edit Download
1.32 KB lrw-r--r-- 2024-08-29 18:43:31
Edit Download
1.91 KB lrw-r--r-- 2024-08-29 18:43:31
Edit Download
4.21 KB lrw-r--r-- 2024-08-29 18:43:31
Edit Download
5.87 KB lrw-r--r-- 2024-08-29 18:43:31
Edit Download
365 B lrw-r--r-- 2024-08-29 18:43:31
Edit Download
9.46 KB lrw-r--r-- 2024-08-29 18:43:31
Edit Download
28.87 KB lrw-r--r-- 2024-08-29 18:43:31
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).