NewAnnotationDriver
class NewAnnotationDriver implements MappingDriver (View source)
Properties
static protected int[] | $entityAnnotationClasses | ||
protected AnnotationReader | $reader | The Annotation reader. | |
protected FileLocator | $locator | The file locator. | |
protected NamingStrategy | $namingStrategy |
Methods
Initializes a new AnnotationDriver that uses the given AnnotationReader for reading docblock annotations.
Loads the metadata for the specified class into the provided container.
Gets the names of all mapped classes known to this driver.
Returns whether the class with the specified name should have its metadata loaded.
Details
at line 74
__construct(AnnotationReader $reader, FileLocator $locator, NamingStrategy $namingStrategy)
Initializes a new AnnotationDriver that uses the given AnnotationReader for reading docblock annotations.
at line 88
void
loadMetadataForClass(string $className, ClassMetadata $metadata, ClassMetadataBuildingContext $metadataBuildingContext)
Loads the metadata for the specified class into the provided container.
at line 135
string[]
getAllClassNames()
Gets the names of all mapped classes known to this driver.
at line 156
bool
isTransient(string $className)
Returns whether the class with the specified name should have its metadata loaded.
This is only the case if it is either mapped as an Entity or a MappedSuperclass.