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