PHP 클래스 DotsUnited\BundleFu\FileList

저자: Jan Sorgalla ([email protected])
상속: implements Iterator, implements Countable
파일 보기 프로젝트 열기: dotsunited/bundlefu

보호된 프로퍼티들

프로퍼티 타입 설명
$files array
$maxMTime integer

공개 메소드들

메소드 설명
addFile ( string $file, SplFileInfo $fileInfo ) : FileList Add a file to the list.
count ( ) : integer Implements Countable::count()
current ( ) : SplFileInfo Implements Iterator::current()
getHash ( ) : string Get a hash of this file list.
getMaxMTime ( ) : integer Get the maximum modification of all files in this list.
key ( ) : string Implements Iterator::key()
next ( ) : void Implements Iterator::next()
reset ( ) : FileList Reset the file list.
rewind ( ) : void Implements Iterator::rewind()
valid ( ) : boolean Implements Iterator::valid()

메소드 상세

addFile() 공개 메소드

Add a file to the list.
public addFile ( string $file, SplFileInfo $fileInfo ) : FileList
$file string The file
$fileInfo SplFileInfo
리턴 FileList

count() 공개 메소드

Implements Countable::count()
public count ( ) : integer
리턴 integer

current() 공개 메소드

Implements Iterator::current()
public current ( ) : SplFileInfo
리턴 SplFileInfo

getHash() 공개 메소드

Get a hash of this file list.
public getHash ( ) : string
리턴 string

getMaxMTime() 공개 메소드

Get the maximum modification of all files in this list.
public getMaxMTime ( ) : integer
리턴 integer

key() 공개 메소드

Implements Iterator::key()
public key ( ) : string
리턴 string

next() 공개 메소드

Implements Iterator::next()
public next ( ) : void
리턴 void

reset() 공개 메소드

Reset the file list.
public reset ( ) : FileList
리턴 FileList

rewind() 공개 메소드

Implements Iterator::rewind()
public rewind ( ) : void
리턴 void

valid() 공개 메소드

Implements Iterator::valid()
public valid ( ) : boolean
리턴 boolean False if there's nothing more to iterate over

프로퍼티 상세

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

protected array $files
리턴 array

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

protected int $maxMTime
리턴 integer