4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Finder\Adapter;
15 * @author Jean-François Simon <contact@jfsimon.fr>
17 * @deprecated since 2.8, to be removed in 3.0.
19 interface AdapterInterface
22 * @param bool $followLinks
26 public function setFollowLinks($followLinks);
33 public function setMode($mode);
36 * @param array $exclude
40 public function setExclude(array $exclude);
43 * @param array $depths
47 public function setDepths(array $depths);
54 public function setNames(array $names);
57 * @param array $notNames
61 public function setNotNames(array $notNames);
64 * @param array $contains
68 public function setContains(array $contains);
71 * @param array $notContains
75 public function setNotContains(array $notContains);
82 public function setSizes(array $sizes);
89 public function setDates(array $dates);
92 * @param array $filters
96 public function setFilters(array $filters);
99 * @param \Closure|int $sort
103 public function setSort($sort);
106 * @param array $paths
110 public function setPath(array $paths);
113 * @param array $notPaths
117 public function setNotPath(array $notPaths);
120 * @param bool $ignore
124 public function ignoreUnreadableDirs($ignore = true);
129 * @return \Iterator Result iterator
131 public function searchInDirectory($dir);
134 * Tests adapter support for current platform.
138 public function isSupported();
141 * Returns adapter name.
145 public function getName();