FilePathsIterator deprecated
class FilePathsIterator extends ArrayIterator
deprecated
since | 2.8, to be removed in 3.0. |
Iterate over shell command result.
Methods
Details
__construct(array $paths, string $baseDir)
Parameters
array | $paths | List of paths returned by shell command |
string | $baseDir | Base dir for relative path building |
mixed
__call(string $name, array $arguments)
Parameters
string | $name | |
array | $arguments | |
Return Value
Return an instance of SplFileInfo with support for relative paths.
Return Value
string
key()
Return Value
next()
rewind()
string
getSubPath()
Return Value
string
getSubPathname()
Return Value