Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



third_party/vfsstream/vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamContainer.php

Table of Contents
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

\org\bovigo\vfs\vfsStreamContainer

Package: Default
Interface for stream contents that are able to store other stream contents.
Parent(s)
\IteratorAggregate

Methods

method public addChild ( \org\bovigo\vfs\vfsStreamContent $child) : void

adds child to the directory

Parameters
Name Type Description
$child \org\bovigo\vfs\vfsStreamContent
method public getChild (string $name) : \org\bovigo\vfs\vfsStreamContent

returns the child with the given name

Parameters
Name Type Description
$name string
Returns
Type Description
\org\bovigo\vfs\vfsStreamContent
method public getChildren () : \org\bovigo\vfs\vfsStreamContent[]

returns a list of children for this directory

Returns
Type Description
\org\bovigo\vfs\vfsStreamContent[]
method public hasChild (string $name) : bool

checks whether the container contains a child with the given name

Parameters
Name Type Description
$name string
Returns
Type Description
bool
method public hasChildren () : bool

checks whether directory contains any children

Returns
Type Description
bool
Details
Since
0.10.0
method public removeChild (string $name) : bool

removes child from the directory

Parameters
Name Type Description
$name string
Returns
Type Description
bool
Documentation was generated by phpDocumentor 2.0.0a12 .