FilePathsIterator deprecated

class FilePathsIterator extends ArrayIterator

deprecated

since 2.8, to be removed in 3.0.

Iterate over shell command result.

Methods

__construct(array $paths, string $baseDir)
mixed __call(string $name, array $arguments)
SplFileInfo current()

Return an instance of SplFileInfo with support for relative paths.

string key()
next()
rewind()
string getSubPath()
string getSubPathname()

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

mixed

SplFileInfo current()

Return an instance of SplFileInfo with support for relative paths.

Return Value

SplFileInfo File information

string key()

Return Value

string

next()

rewind()

string getSubPath()

Return Value

string

string getSubPathname()

Return Value

string

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Component/Finder/Iterator/FilePathsIterator.html