Filesystem iterator
| package | filicious-core |
|---|---|
| author | Christian Schiffler |
| author | Tristan Lins |
| author | Oliver Hoff |
__construct(\Filicious\File $path, int|string|callable $_)
\Filicious\File
intstringcallableList of flags, bitmask filters File::LIST_*, glob patterns or callables function($file) { return true|false; }
current() : mixed
key() : int
seek(int $position) : void
| link | http://php.net/manual/en/seekableiterator.seek.php |
|---|
intThe position to seek to.
$flags : int
CURRENT_AS_BASENAME
CURRENT_AS_FILE
CURRENT_AS_PATHNAME
CURRENT_AS_SELF
KEY_AS_FILENAME
KEY_AS_PATHNAME