class XmlFileLoader extends FileLoader

Loads XML mapping files.

Methods

__construct(string $file)

Constructor.

bool
loadClassMetadata(ClassMetadataInterface $classMetadata)

Load class metadata.

Details

in FileLoader at line line 35
__construct(string $file)

Constructor.

Parameters

string $file The mapping file to load

Exceptions

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

at line line 36
bool loadClassMetadata(ClassMetadataInterface $classMetadata)

Load class metadata.

Parameters

ClassMetadataInterface $classMetadata A metadata

Return Value

bool