class XmlDriver extends FileDriver (View source)

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

Constants

DEFAULT_FILE_EXTENSION

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