class XmlFileLoader extends FileLoader

Loads XML mapping files.

Properties

protected $file from FileLoader

Methods

__construct(string $file)

No description

bool
loadClassMetadata(ClassMetadataInterface $classMetadata)

No description

string[]
getMappedClasses()

Return the names of the classes mapped in this file.

Details

__construct(string $file)

Parameters

string $file The mapping file to load

Exceptions

MappingException if the mapping file does not exist or is not readable

bool loadClassMetadata(ClassMetadataInterface $classMetadata)

Parameters

ClassMetadataInterface $classMetadata

Return Value

bool

string[] getMappedClasses()

Return the names of the classes mapped in this file.

Return Value

string[] The classes names