XmlFileLoader

class XmlFileLoader extends FileLoader

Loads XML mapping files.

Methods

__construct(string $file)

Constructor.

from FileLoader
bool loadClassMetadata(ClassMetadataInterface $classMetadata)

Load class metadata.

Details

__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

bool loadClassMetadata(ClassMetadataInterface $classMetadata)

Load class metadata.

Parameters

ClassMetadataInterface $classMetadata A metadata

Return Value

bool
doc_Symfony
2016-10-28 06:37:22
Comments
Leave a Comment

Please login to continue.