Loads XML mapping files.

Cloneable Instantiable
Methods
public Symfony\Component\Serializer\Mapping\Loader\FileLoader :: __construct ( string $file )
 
  • param string $file The mapping file to load
  • throws MappingException if the mapping file does not exist or is not readable
public getMappedClasses () : array
 

Return the names of the classes mapped in this file.

  • return string []
public loadClassMetadata ( Symfony\Component\Serializer\Mapping\ClassMetadataInterface $classMetadata ) : bool
 
Properties
protected Symfony\Component\Serializer\Mapping\Loader\FileLoader :: $file
Properties
private $classes
 

An array of {@class \SimpleXMLElement} instances.

  • var SimpleXMLElement []| null
Methods
private getClassesFromXml () : array
private parseContext ( SimpleXMLElement $nodes ) : array
private parseFile ( string $file ) : SimpleXMLElement
 

Parses an XML File.

  • throws MappingException
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration