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\Validator\Tests\Fixtures;
14 use Symfony\Component\Validator\Mapping\Loader\FilesLoader as BaseFilesLoader;
15 use Symfony\Component\Validator\Mapping\Loader\LoaderInterface;
17 abstract class FilesLoader extends BaseFilesLoader
19 protected $timesCalled = 0;
22 public function __construct(array $paths, LoaderInterface $loader)
24 $this->loader = $loader;
25 parent::__construct($paths);
28 protected function getFileLoaderInstance($file)
35 public function getTimesCalled()
37 return $this->timesCalled;