You are here

protected function FilesLoader::getFileLoaderInstance in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/validator/Tests/Fixtures/FilesLoader.php \Symfony\Component\Validator\Tests\Fixtures\FilesLoader::getFileLoaderInstance()
  2. 8.0 vendor/symfony/validator/Mapping/Loader/FilesLoader.php \Symfony\Component\Validator\Mapping\Loader\FilesLoader::getFileLoaderInstance()
Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Fixtures/FilesLoader.php \Symfony\Component\Validator\Tests\Fixtures\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

vendor/symfony/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;
}