You are here

protected function FilesLoader::getFileLoaderInstance in Plug 7

Same name in this branch
  1. 7 lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/FilesLoader.php \Symfony\Component\Validator\Tests\Fixtures\FilesLoader::getFileLoaderInstance()
  2. 7 lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php \Symfony\Component\Validator\Mapping\Loader\FilesLoader::getFileLoaderInstance()

Creates a loader for the given file path.

Parameters

string $path The file path:

Return value

LoaderInterface The created loader

Overrides FilesLoader::getFileLoaderInstance

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/FilesLoader.php, line 28

Class

FilesLoader

Namespace

Symfony\Component\Validator\Tests\Fixtures

Code

protected function getFileLoaderInstance($file) {
  ++$this->timesCalled;
  return $this->loader;
}