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
doc_Symfony
2016-10-28 06:16:33
Comments
Leave a Comment

Please login to continue.