vfsStreamContainer.php

Show: inherited
    Table of Contents

    Interface for stream contents that are able to store other stream contents.

    Package
    bovigo_vfs  

    \vfsStreamContainer

    Package: bovigo\vfs

    Interface for stream contents that are able to store other stream contents.

    Parent(s)
    \IteratorAggregate
    Children
    \vfsStreamDirectory

    Methods

    methodpublicaddChild( \vfsStreamContent $child ) : void

    adds child to the directory

    Parameters
    Name Type Description
    $child \vfsStreamContent
    methodpublicgetChild( string $name ) : \vfsStreamContent

    returns the child with the given name

    Parameters
    Name Type Description
    $name string
    Returns
    Type Description
    \vfsStreamContent
    methodpublicgetChildren( ) : \array<vfsStreamContent>

    returns a list of children for this directory

    Returns
    Type Description
    \array<vfsStreamContent>
    methodpublichasChild( string $name ) : bool

    checks whether the container contains a child with the given name

    Parameters
    Name Type Description
    $name string
    Returns
    Type Description
    bool
    methodpublichasChildren( ) : bool

    checks whether directory contains any children

    Returns
    Type Description
    bool
    Details
    Since
    0.10.0  
    methodpublicremoveChild( string $name ) : bool

    removes child from the directory

    Parameters
    Name Type Description
    $name string
    Returns
    Type Description
    bool
    Documentation was generated by DocBlox 0.18.1.