class SimpleAnnotationDriver in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/AnnotationDriverTest.php \Doctrine\Tests\Common\Persistence\Mapping\SimpleAnnotationDriver
Hierarchy
- class \Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver implements MappingDriver
- class \Doctrine\Tests\Common\Persistence\Mapping\SimpleAnnotationDriver
Expanded class hierarchy of SimpleAnnotationDriver
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ AnnotationDriverTest.php, line 22
Namespace
Doctrine\Tests\Common\Persistence\MappingView source
class SimpleAnnotationDriver extends AnnotationDriver {
protected $entityAnnotationClasses = array(
'Doctrine\\Entity' => true,
);
public function loadMetadataForClass($className, ClassMetadata $metadata) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AnnotationDriver:: |
protected | property | Cache for AnnotationDriver#getAllClassNames(). | |
AnnotationDriver:: |
protected | property | The paths excluded from path where to look for mapping files. | |
AnnotationDriver:: |
protected | property | The file extension of mapping documents. | |
AnnotationDriver:: |
protected | property | The paths where to look for mapping files. | |
AnnotationDriver:: |
protected | property | The AnnotationReader. | |
AnnotationDriver:: |
public | function | Append exclude lookup paths to metadata driver. | |
AnnotationDriver:: |
public | function | Appends lookup paths to metadata driver. | |
AnnotationDriver:: |
public | function |
Gets the names of all mapped classes known to this driver. Overrides MappingDriver:: |
|
AnnotationDriver:: |
public | function | Retrieve the defined metadata lookup exclude paths. | |
AnnotationDriver:: |
public | function | Gets the file extension used to look for mapping files under. | |
AnnotationDriver:: |
public | function | Retrieves the defined metadata lookup paths. | |
AnnotationDriver:: |
public | function | Retrieve the current annotation reader | |
AnnotationDriver:: |
public | function |
Returns whether the class with the specified name is transient. Only non-transient
classes, that is entities and mapped superclasses, should have their metadata loaded. Overrides MappingDriver:: |
|
AnnotationDriver:: |
public | function | Sets the file extension used to look for mapping files under. | |
AnnotationDriver:: |
public | function | Initializes a new AnnotationDriver that uses the given AnnotationReader for reading docblock annotations. | |
SimpleAnnotationDriver:: |
protected | property |
Name of the entity annotations as keys. Overrides AnnotationDriver:: |
|
SimpleAnnotationDriver:: |
public | function |
Loads the metadata for the specified class into the provided container. Overrides MappingDriver:: |