You are here

abstract 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/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 vendor/symfony/validator/Mapping/Loader/FilesLoader.php
Returns an array of file loaders for the given file paths.
3 methods override FilesLoader::getFileLoaderInstance()
FilesLoader::getFileLoaderInstance in vendor/symfony/validator/Tests/Fixtures/FilesLoader.php
Creates a loader for the given file path.
XmlFilesLoader::getFileLoaderInstance in vendor/symfony/validator/Mapping/Loader/XmlFilesLoader.php
Creates a loader for the given file path.
YamlFilesLoader::getFileLoaderInstance in vendor/symfony/validator/Mapping/Loader/YamlFilesLoader.php
Creates a loader for the given file path.

File

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