You are here

abstract 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

1 call to FilesLoader::getFileLoaderInstance()
FilesLoader::getFileLoaders in lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php
Returns an array of file loaders for the given file paths.
3 methods override FilesLoader::getFileLoaderInstance()
FilesLoader::getFileLoaderInstance in lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/FilesLoader.php
Creates a loader for the given file path.
XmlFilesLoader::getFileLoaderInstance in lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/XmlFilesLoader.php
Creates a loader for the given file path.
YamlFilesLoader::getFileLoaderInstance in lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/YamlFilesLoader.php
Creates a loader for the given file path.

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php, line 60

Class

FilesLoader
Base loader for loading validation metadata from a list of files.

Namespace

Symfony\Component\Validator\Mapping\Loader

Code

protected abstract function getFileLoaderInstance($path);