class AnnotationDriver extends AnnotationDriver (View source)

The AnnotationDriver reads the mapping metadata from docblock annotations.

Properties

protected $entityAnnotationClasses {@inheritDoc}

Methods

loadMetadataForClass($className, ClassMetadata $metadata)

{@inheritDoc}

create(array|string $paths = array(), AnnotationReader $reader = null)

Factory method for the Annotation Driver.

Details

loadMetadataForClass($className, ClassMetadata $metadata)

{@inheritDoc}

Parameters

$className
ClassMetadata $metadata

static AnnotationDriver create(array|string $paths = array(), AnnotationReader $reader = null)

Factory method for the Annotation Driver.

Parameters

array|string $paths
AnnotationReader $reader

Return Value

AnnotationDriver