class YamlFilesLoader in Plug 7
Loads validation metadata from a list of YAML files.
@author Bulat Shakirzyanov <mallluhuct@gmail.com> @author Bernhard Schussek <bschussek@gmail.com>
Hierarchy
- class \Symfony\Component\Validator\Mapping\Loader\LoaderChain implements LoaderInterface
- class \Symfony\Component\Validator\Mapping\Loader\FilesLoader
- class \Symfony\Component\Validator\Mapping\Loader\YamlFilesLoader
- class \Symfony\Component\Validator\Mapping\Loader\FilesLoader
Expanded class hierarchy of YamlFilesLoader
See also
1 file declares its use of YamlFilesLoader
- ValidatorBuilder.php in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ValidatorBuilder.php
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ Loader/ YamlFilesLoader.php, line 22
Namespace
Symfony\Component\Validator\Mapping\LoaderView source
class YamlFilesLoader extends FilesLoader {
/**
* {@inheritdoc}
*/
public function getFileLoaderInstance($file) {
return new YamlFileLoader($file);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FilesLoader:: |
protected | function | Returns an array of file loaders for the given file paths. | |
FilesLoader:: |
public | function |
Creates a new loader. Overrides LoaderChain:: |
1 |
LoaderChain:: |
protected | property | ||
LoaderChain:: |
public | function |
Loads validation metadata into a {@link ClassMetadata} instance. Overrides LoaderInterface:: |
|
YamlFilesLoader:: |
public | function |
Creates a loader for the given file path. Overrides FilesLoader:: |