class XmlFileLoader extends FileLoader
Loads XML mapping files.
__construct(string $file) Constructor. | from FileLoader | |
bool | loadClassMetadata(ClassMetadataInterface $classMetadata) Load class metadata. | |
string[] | getMappedClasses() Return the names of the classes mapped in this file. |
Constructor.
string | $file | The mapping file to load |
MappingException | if the mapping file does not exist or is not readable |
Load class metadata.
ClassMetadataInterface | $classMetadata | A metadata |
bool |
Return the names of the classes mapped in this file.
string[] | The classes names |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Serializer/Mapping/Loader/XmlFileLoader.html