AbstractFindAdapter

class AbstractFindAdapter extends AbstractAdapter

Shell engine implementation using GNU find command.

Methods

bool isSupported()

Tests adapter support for current platform.

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

Details

bool isSupported()

Tests adapter support for current platform.

Return Value

bool

Parameters

bool $followLinks

Return Value

$this

$this setMode(int $mode)

Parameters

int $mode

Return Value

$this

$this setDepths(array $depths)

Parameters

array $depths

Return Value

$this

$this setExclude(array $exclude)

Parameters

array $exclude

Return Value

$this

$this setNames(array $names)

Parameters

array $names

Return Value

$this

$this setNotNames(array $notNames)

Parameters

array $notNames

Return Value

$this

$this setContains(array $contains)

Parameters

array $contains

Return Value

$this

$this setNotContains(array $notContains)

Parameters

array $notContains

Return Value

$this

$this setSizes(array $sizes)

Parameters

array $sizes

Return Value

$this

$this setDates(array $dates)

Parameters

array $dates

Return Value

$this

$this setFilters(array $filters)

Parameters

array $filters

Return Value

$this

$this setSort(Closure|int $sort)

Parameters

Closure|int $sort

Return Value

$this

$this setPath(array $paths)

Parameters

array $paths

Return Value

$this

$this setNotPath(array $notPaths)

Parameters

array $notPaths

Return Value

$this

$this ignoreUnreadableDirs(bool $ignore = true)

Parameters

bool $ignore

Return Value

$this

__construct()

Iterator searchInDirectory(string $dir)

Parameters

string $dir

Return Value

Iterator Result iterator

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