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);
38 public function setExclude(array $exclude);
43 public function setDepths(array $depths);
48 public function setNames(array $names);
53 public function setNotNames(array $notNames);
58 public function setContains(array $contains);
63 public function setNotContains(array $notContains);
68 public function setSizes(array $sizes);
73 public function setDates(array $dates);
78 public function setFilters(array $filters);
81 * @param \Closure|int $sort
85 public function setSort($sort);
90 public function setPath(array $paths);
95 public function setNotPath(array $notPaths);
102 public function ignoreUnreadableDirs($ignore = true);
107 * @return \Iterator Result iterator
109 public function searchInDirectory($dir);
112 * Tests adapter support for current platform.
116 public function isSupported();
119 * Returns adapter name.
123 public function getName();