PHP Интерфейс org\bovigo\vfs\vfsStreamContainer

Наследование: extends IteratorAggregate
Показать файл Открыть проект

Открытые методы

Метод Описание
addChild ( org\bovigo\vfs\vfsStreamContent $child ) adds child to the directory
getChild ( string $name ) : org\bovigo\vfs\vfsStreamContent returns the child with the given name
getChildren ( ) : org\bovigo\vfs\vfsStreamContent[] returns a list of children for this directory
hasChild ( string $name ) : boolean checks whether the container contains a child with the given name
hasChildren ( ) : boolean checks whether directory contains any children
removeChild ( string $name ) : boolean removes child from the directory

Описание методов

addChild() публичный Метод

adds child to the directory
public addChild ( org\bovigo\vfs\vfsStreamContent $child )
$child org\bovigo\vfs\vfsStreamContent

getChild() публичный Метод

returns the child with the given name
public getChild ( string $name ) : org\bovigo\vfs\vfsStreamContent
$name string
Результат org\bovigo\vfs\vfsStreamContent

getChildren() публичный Метод

returns a list of children for this directory
public getChildren ( ) : org\bovigo\vfs\vfsStreamContent[]
Результат org\bovigo\vfs\vfsStreamContent[]

hasChild() публичный Метод

checks whether the container contains a child with the given name
public hasChild ( string $name ) : boolean
$name string
Результат boolean

hasChildren() публичный Метод

checks whether directory contains any children
С версии: 0.10.0
public hasChildren ( ) : boolean
Результат boolean

removeChild() публичный Метод

removes child from the directory
public removeChild ( string $name ) : boolean
$name string
Результат boolean