AbstractAdapter deprecated

class AbstractAdapter implements AdapterInterface

deprecated

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

Interface for finder engine implementations.

Methods

bool isSupported()

Tests adapter support for current platform.

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

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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Finder/Adapter/AbstractAdapter.html