PhpAdapter deprecated

class PhpAdapter extends AbstractAdapter

deprecated

since 2.8, to be removed in 3.0. Use Finder instead.

PHP finder engine implementation.

Methods

bool isSupported()

Tests adapter support for current platform.

from AbstractAdapter
AdapterInterface setFollowLinks(bool $followLinks) from AbstractAdapter
AdapterInterface setMode(int $mode) from AbstractAdapter
AdapterInterface setDepths(array $depths) from AbstractAdapter
AdapterInterface setExclude(array $exclude) from AbstractAdapter
AdapterInterface setNames(array $names) from AbstractAdapter
AdapterInterface setNotNames(array $notNames) from AbstractAdapter
AdapterInterface setContains(array $contains) from AbstractAdapter
AdapterInterface setNotContains(array $notContains) from AbstractAdapter
AdapterInterface setSizes(array $sizes) from AbstractAdapter
AdapterInterface setDates(array $dates) from AbstractAdapter
AdapterInterface setFilters(array $filters) from AbstractAdapter
AdapterInterface setSort(Closure|int $sort) from AbstractAdapter
AdapterInterface setPath(array $paths) from AbstractAdapter
AdapterInterface setNotPath(array $notPaths) from AbstractAdapter
AdapterInterface ignoreUnreadableDirs(bool $ignore = true) from AbstractAdapter
Iterator searchInDirectory(string $dir)
string getName()

Returns adapter name.

Details

bool isSupported()

Tests adapter support for current platform.

Return Value

bool

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