Method |
Description |
|
__construct ( AnnotationReader $reader, string | array $paths = null ) |
Initializes a new AnnotationDriver that uses the given AnnotationReader for reading
docblock annotations. |
|
addPaths ( array $paths ) |
Append lookup paths to metadata driver. |
|
create ( array | string $paths = [], AnnotationReader $reader = null ) : AnnotationDriver |
Factory method for the Annotation Driver |
|
getAllClassNames ( ) |
{@inheritDoc} |
|
getFileExtension ( ) : void |
Get the file extension used to look for mapping files under |
|
getPaths ( ) : array |
Retrieve the defined metadata lookup paths. |
|
isTransient ( string $className ) : boolean |
Whether the class with the specified name is transient. Only non-transient
classes, that is entities and mapped superclasses, should have their metadata loaded. |
|
loadMetadataForClass ( $className, ClassMetadataInfo $metadata ) |
|
|
setFileExtension ( string $fileExtension ) : void |
Set the file extension used to look for mapping files under |
|