abstract protected function FilesLoader::getFileLoaderInstance

Same name in this branch
  1. 8.x drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Fixtures/FilesLoader.php \Symfony\Component\Validator\Tests\Fixtures\FilesLoader::getFileLoaderInstance()
  2. 8.x drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php \Symfony\Component\Validator\Mapping\Loader\FilesLoader::getFileLoaderInstance()

Takes mapping file path.

Parameters

string $file:

Return value

LoaderInterface

1 call to FilesLoader::getFileLoaderInstance()
FilesLoader::getFileLoaders in drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php
Array of mapping files.
3 methods override FilesLoader::getFileLoaderInstance()
FilesLoader::getFileLoaderInstance in drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Fixtures/FilesLoader.php
Takes mapping file path.
XmlFilesLoader::getFileLoaderInstance in drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/Loader/XmlFilesLoader.php
Takes mapping file path.
YamlFilesLoader::getFileLoaderInstance in drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/Loader/YamlFilesLoader.php
Takes mapping file path.

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php, line 60

Class

FilesLoader
Creates mapping loaders for array of files.

Namespace

Symfony\Component\Validator\Mapping\Loader

Code

protected abstract function getFileLoaderInstance($file);