public function YamlFilesLoader::getFileLoaderInstance in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Mapping/Loader/YamlFilesLoader.php \Symfony\Component\Validator\Mapping\Loader\YamlFilesLoader::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/ Mapping/ Loader/ YamlFilesLoader.php, line 27
Class
- YamlFilesLoader
- Loads validation metadata from a list of YAML files.
Namespace
Symfony\Component\Validator\Mapping\LoaderCode
public function getFileLoaderInstance($file) {
return new YamlFileLoader($file);
}