public function YamlFilesLoader::getFileLoaderInstance

Takes mapping file path.

Parameters

string $file:

Return value

LoaderInterface

Overrides FilesLoader::getFileLoaderInstance

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/Loader/YamlFilesLoader.php, line 26

Class

YamlFilesLoader
Loads multiple yaml mapping files

Namespace

Symfony\Component\Validator\Mapping\Loader

Code

public function getFileLoaderInstance($file) {
  return new YamlFileLoader($file);
}