PHP 인터페이스 org\bovigo\vfs\vfsStreamContainer

상속: extends IteratorAggregate
파일 보기 프로젝트 열기: mikey179/vfsstream

공개 메소드들

메소드 설명
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