class YamlDriver extends FileDriver (View source)

The YamlDriver reads the mapping metadata from yaml schema files.

Constants

DEFAULT_FILE_EXTENSION

Methods

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

{@inheritDoc}

loadMetadataForClass($className, ClassMetadata $metadata)

{@inheritDoc}

loadMappingFile($file)

{@inheritDoc}

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