GnuFindAdapter
class GnuFindAdapter extends AbstractFindAdapter
Реализация движка оболочки с использованием команды GNU find.
Методы
| bool | isSupported() Проверяет поддержку адаптера для текущей платформы. | из AbstractAdapter |
| $this | setFollowLinks(bool $followLinks) | из AbstractAdapter |
| $this | setMode(int $mode) | из AbstractAdapter |
| $this | setDepths(array $depths) | из AbstractAdapter |
| $this | setExclude(array $exclude) | из AbstractAdapter |
| $this | setNames(array $names) | из AbstractAdapter |
| $this | setNotNames(array $notNames) | из AbstractAdapter |
| $this | setContains(array $contains) | из AbstractAdapter |
| $this | setNotContains(array $notContains) | из AbstractAdapter |
| $this | setSizes(array $sizes) | из AbstractAdapter |
| $this | setDates(array $dates) | из AbstractAdapter |
| $this | setFilters(array $filters) | из AbstractAdapter |
| $this | setSort(Closure|int $sort) | из AbstractAdapter |
| $this | setPath(array $paths) | из AbstractAdapter |
| $this | setNotPath(array $notPaths) | из AbstractAdapter |
| $this | ignoreUnreadableDirs(bool $ignore = true) | из AbstractAdapter |
| __construct() Конструктор. | из AbstractFindAdapter | |
| Iterator | searchInDirectory(string $dir) | из AbstractFindAdapter |
| string | getName() Возвращает имя адаптера. |
Детали
bool isSupported()
Проверяет поддержку адаптера для текущей платформы.
Возвращаемое значение
| bool |
$this setFollowLinks(bool $followLinks)
Параметры
| bool | $followLinks |
Возвращаемое значение
| $this |
$this setMode(int $mode)
Параметры
| int | $mode |
Возвращаемое значение
| $this |
$this setDepths(array $depths)
Параметры
| array | $depths |
Возвращаемое значение
| $this |
$this setExclude(array $exclude)
Параметры
| array | $exclude |
Возвращаемое значение
| $this |
$this setNames(array $names)
Параметры
| array | $names |
Возвращаемое значение
| $this |
$this setNotNames(array $notNames)
Параметры
| array | $notNames |
Возвращаемое значение
| $this |
$this setContains(array $contains)
Параметры
| array | $contains |
Возвращаемое значение
| $this |
$this setNotContains(array $notContains)
Параметры
| array | $notContains |
Возвращаемое значение
| $this |
$this setSizes(array $sizes)
Параметры
| array | $sizes |
Возвращаемое значение
| $this |
$this setDates(array $dates)
Параметры
| array | $dates |
Возвращаемое значение
| $this |
$this setFilters(array $filters)
Параметры
| array | $filters |
Возвращаемое значение
| $this |
$this setSort(Closure|int $sort)
Параметры
| Closure|int | $sort |
Возвращаемое значение
| $this |
$this setPath(array $paths)
Параметры
| array | $paths |
Возвращаемое значение
| $this |
$this setNotPath(array $notPaths)
Параметры
| array | $notPaths |
Возвращаемое значение
| $this |
$this ignoreUnreadableDirs(bool $ignore = true)
Параметры
| bool | $ignore |
Возвращаемое значение
| $this |
__construct()
Конструктор.
Iterator searchInDirectory(string $dir)
Параметры
| string | $dir |
Возвращаемое значение
| Iterator | Итератор результатов |
string getName()
Возвращает имя адаптера.
Возвращаемое значение
| string |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Finder/Adapter/GnuFindAdapter.html