AdapterInterface

interface AdapterInterface

Methods

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

Tests adapter support for current platform.

string getName()

Returns adapter name.

Details

Parameters

bool $followLinks

Return Value

$this

$this setMode(int $mode)

Parameters

int $mode

Return Value

$this

$this setExclude(array $exclude)

Parameters

array $exclude

Return Value

$this

$this setDepths(array $depths)

Parameters

array $depths

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

Iterator searchInDirectory(string $dir)

Parameters

string $dir

Return Value

Iterator Result iterator

bool isSupported()

Tests adapter support for current platform.

Return Value

bool

string getName()

Returns adapter name.

Return Value

string

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