class XmlFilesLoader extends FilesLoader
Loads validation metadata from a list of XML files.
protected | $loaders | from LoaderChain |
__construct(array $paths) Creates a new loader. | from FilesLoader | |
bool | loadClassMetadata(ClassMetadata $metadata) Loads validation metadata into a {@link ClassMetadata} instance. | from LoaderChain |
LoaderInterface[] | getLoaders() | from LoaderChain |
LoaderInterface[] | getFileLoaders(array $paths) Returns an array of file loaders for the given file paths. | from FilesLoader |
LoaderInterface | getFileLoaderInstance($file) Creates a loader for the given file path. |
Creates a new loader.
array | $paths | An array of file paths |
Loads validation metadata into a {@link ClassMetadata} instance.
ClassMetadata | $metadata |
bool | Whether the loader succeeded |
LoaderInterface[] |
Returns an array of file loaders for the given file paths.
array | $paths | An array of file paths |
LoaderInterface[] | The metadata loaders |
Creates a loader for the given file path.
$file |
LoaderInterface | The created loader |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Validator/Mapping/Loader/XmlFilesLoader.html