PHP Class Doctrine\Search\Mapping\Driver\YamlDriver

Since: 1.0
Author: Jonathan H. Wage ([email protected])
Author: Roman Borschel ([email protected])
Inheritance: extends Doctrine\Common\Persistence\Mapping\Driver\FileDriver
Datei anzeigen Open project: doctrine/search Class Usage Examples

Protected Properties

Property Type Description
$entityAnnotationClasses {@inheritDoc}

Public Methods

Method Description
__construct ( $locator, $fileExtension = self::DEFAULT_FILE_EXTENSION ) {@inheritDoc}
loadMetadataForClass ( $className, Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata ) {@inheritDoc}

Protected Methods

Method Description
loadMappingFile ( $file ) {@inheritDoc}

Private Methods

Method Description
annotateClassMetadata ( $classMapping, $metadata )
fieldToArray ( $name, $fieldMapping )
parameterToArray ( $name, $parameterMapping )
rootToArray ( $rootMapping )

Method Details

__construct() public method

{@inheritDoc}
public __construct ( $locator, $fileExtension = self::DEFAULT_FILE_EXTENSION )

loadMappingFile() protected method

{@inheritDoc}
protected loadMappingFile ( $file )

loadMetadataForClass() public method

{@inheritDoc}
public loadMetadataForClass ( $className, Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata )
$metadata Doctrine\Common\Persistence\Mapping\ClassMetadata

Property Details

$entityAnnotationClasses protected_oe property

{@inheritDoc}
protected $entityAnnotationClasses