class XmlFilesLoader in Plug 7
Loads validation metadata from a list of XML 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\XmlFilesLoader
- class \Symfony\Component\Validator\Mapping\Loader\FilesLoader
Expanded class hierarchy of XmlFilesLoader
See also
1 file declares its use of XmlFilesLoader
- ValidatorBuilder.php in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ValidatorBuilder.php
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ Loader/ XmlFilesLoader.php, line 22
Namespace
Symfony\Component\Validator\Mapping\LoaderView source
class XmlFilesLoader extends FilesLoader {
/**
* {@inheritdoc}
*/
public function getFileLoaderInstance($file) {
return new XmlFileLoader($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:: |
|
XmlFilesLoader:: |
public | function |
Creates a loader for the given file path. Overrides FilesLoader:: |