class XmlDriver extends FileDriver (View source)

XmlDriver is a metadata driver that enables mapping through XML files.

Constants

DEFAULT_FILE_EXTENSION

DEFAULT_GRIDFS_MAPPINGS

Methods

__construct($locator, $fileExtension = self::DEFAULT_FILE_EXTENSION)

{@inheritDoc}

loadMetadataForClass($className, ClassMetadata $class)

{@inheritDoc}

loadMappingFile($file)

{@inheritDoc}

Details

__construct($locator, $fileExtension = self::DEFAULT_FILE_EXTENSION)

{@inheritDoc}

Parameters

$locator
$fileExtension

loadMetadataForClass($className, ClassMetadata $class)

{@inheritDoc}

Parameters

$className
ClassMetadata $class

protected loadMappingFile($file)

{@inheritDoc}

Parameters

$file