PHP 클래스 org\bovigo\vfs\vfsStreamContainerIterator

상속: implements Iterator
파일 보기 프로젝트 열기: mikey179/vfsstream

보호된 프로퍼티들

프로퍼티 타입 설명
$children list of children from container to iterate over

공개 메소드들

메소드 설명
__construct ( array $children ) constructor
current ( ) : org\bovigo\vfs\vfsStreamContent returns the current child
key ( ) : string returns the name of the current child
next ( ) iterates to next child
rewind ( ) resets children pointer
valid ( ) : boolean checks if the current value is valid

메소드 상세

__construct() 공개 메소드

constructor
public __construct ( array $children )
$children array

current() 공개 메소드

returns the current child
public current ( ) : org\bovigo\vfs\vfsStreamContent
리턴 org\bovigo\vfs\vfsStreamContent

key() 공개 메소드

returns the name of the current child
public key ( ) : string
리턴 string

next() 공개 메소드

iterates to next child
public next ( )

rewind() 공개 메소드

resets children pointer
public rewind ( )

valid() 공개 메소드

checks if the current value is valid
public valid ( ) : boolean
리턴 boolean

프로퍼티 상세

$children 보호되어 있는 프로퍼티

list of children from container to iterate over
protected $children