PhpAdapter deprecated
class PhpAdapter extends AbstractAdapter
deprecated
PHP finder engine implementation.
Methods
Details
bool isSupported()
Tests adapter support for current platform.
Return Value
bool |
AdapterInterface setFollowLinks(bool $followLinks)
Parameters
bool | $followLinks |
Return Value
AdapterInterface | Current instance |
AdapterInterface setMode(int $mode)
Parameters
int | $mode |
Return Value
AdapterInterface | Current instance |
AdapterInterface setDepths(array $depths)
Parameters
array | $depths |
Return Value
AdapterInterface | Current instance |
AdapterInterface setExclude(array $exclude)
Parameters
array | $exclude |
Return Value
AdapterInterface | Current instance |
AdapterInterface setNames(array $names)
Parameters
array | $names |
Return Value
AdapterInterface | Current instance |
AdapterInterface setNotNames(array $notNames)
Parameters
array | $notNames |
Return Value
AdapterInterface | Current instance |
AdapterInterface setContains(array $contains)
Parameters
array | $contains |
Return Value
AdapterInterface | Current instance |
AdapterInterface setNotContains(array $notContains)
Parameters
array | $notContains |
Return Value
AdapterInterface | Current instance |
AdapterInterface setSizes(array $sizes)
Parameters
array | $sizes |
Return Value
AdapterInterface | Current instance |
AdapterInterface setDates(array $dates)
Parameters
array | $dates |
Return Value
AdapterInterface | Current instance |
AdapterInterface setFilters(array $filters)
Parameters
array | $filters |
Return Value
AdapterInterface | Current instance |
AdapterInterface setSort(Closure|int $sort)
Parameters
Closure|int | $sort |
Return Value
AdapterInterface | Current instance |
AdapterInterface setPath(array $paths)
Parameters
array | $paths |
Return Value
AdapterInterface | Current instance |
AdapterInterface setNotPath(array $notPaths)
Parameters
array | $notPaths |
Return Value
AdapterInterface | Current instance |
AdapterInterface ignoreUnreadableDirs(bool $ignore = true)
Parameters
bool | $ignore |
Return Value
AdapterInterface | Current instance |
Iterator searchInDirectory(string $dir)
Parameters
string | $dir |
Return Value
Iterator | Result iterator |
string getName()
Returns adapter name.
Return Value
string |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Finder/Adapter/PhpAdapter.html