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 $metadata)

{@inheritDoc}

loadMappingFile($file)

{@inheritDoc}

bool
evaluateBoolean(mixed $element)

No description

Details

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

{@inheritDoc}

Parameters

$locator
$fileExtension

loadMetadataForClass($className, ClassMetadata $metadata)

{@inheritDoc}

Parameters

$className
ClassMetadata $metadata

protected loadMappingFile($file)

{@inheritDoc}

Parameters

$file

protected bool evaluateBoolean(mixed $element)

Parameters

mixed $element

Return Value

bool