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

in FileLoader at line 30
__construct(string $file)

Parameters

string $file The mapping file to load

Exceptions

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

at line 37
bool loadClassMetadata(ClassMetadataInterface $classMetadata)

Parameters

ClassMetadataInterface $classMetadata

Return Value

bool

at line 95
string[] getMappedClasses()

Return the names of the classes mapped in this file.

Return Value

string[] The classes names