class SimplifiedXmlDriver extends XmlDriver (View source)

XmlDriver that additionally looks for mapping information in a global file.

Constants

DEFAULT_FILE_EXTENSION

Methods

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

{@inheritDoc}

loadMetadataForClass($className, ClassMetadata $class)

{@inheritDoc}

from XmlDriver
loadMappingFile($file)

{@inheritDoc}

from XmlDriver

Details

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

{@inheritDoc}

Parameters

$prefixes
$fileExtension

loadMetadataForClass($className, ClassMetadata $class)

{@inheritDoc}

Parameters

$className
ClassMetadata $class

protected loadMappingFile($file)

{@inheritDoc}

Parameters

$file