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 DummyAdapter extends AbstractAdapter
27 * @param \Iterator $iterator
29 public function __construct(\Iterator $iterator)
31 $this->iterator = $iterator;
37 public function searchInDirectory($dir)
39 return $this->iterator;
45 public function getName()
53 protected function canBeUsed()