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\Tests\FakeAdapter;
14 use Symfony\Component\Finder\Adapter\AbstractAdapter;
17 * @author Jean-François Simon <contact@jfsimon.fr>
19 class NamedAdapter extends AbstractAdapter
29 public function __construct($name)
37 public function searchInDirectory($dir)
39 return new \ArrayIterator(array());
45 public function getName()
53 protected function canBeUsed()