You are here

class SimpleAnnotationDriver in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/AnnotationDriverTest.php \Doctrine\Tests\Common\Persistence\Mapping\SimpleAnnotationDriver

Hierarchy

Expanded class hierarchy of SimpleAnnotationDriver

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/AnnotationDriverTest.php, line 22

Namespace

Doctrine\Tests\Common\Persistence\Mapping
View source
class SimpleAnnotationDriver extends AnnotationDriver {
  protected $entityAnnotationClasses = array(
    'Doctrine\\Entity' => true,
  );
  public function loadMetadataForClass($className, ClassMetadata $metadata) {
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AnnotationDriver::$classNames protected property Cache for AnnotationDriver#getAllClassNames().
AnnotationDriver::$excludePaths protected property The paths excluded from path where to look for mapping files.
AnnotationDriver::$fileExtension protected property The file extension of mapping documents.
AnnotationDriver::$paths protected property The paths where to look for mapping files.
AnnotationDriver::$reader protected property The AnnotationReader.
AnnotationDriver::addExcludePaths public function Append exclude lookup paths to metadata driver.
AnnotationDriver::addPaths public function Appends lookup paths to metadata driver.
AnnotationDriver::getAllClassNames public function Gets the names of all mapped classes known to this driver. Overrides MappingDriver::getAllClassNames
AnnotationDriver::getExcludePaths public function Retrieve the defined metadata lookup exclude paths.
AnnotationDriver::getFileExtension public function Gets the file extension used to look for mapping files under.
AnnotationDriver::getPaths public function Retrieves the defined metadata lookup paths.
AnnotationDriver::getReader public function Retrieve the current annotation reader
AnnotationDriver::isTransient 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::isTransient
AnnotationDriver::setFileExtension public function Sets the file extension used to look for mapping files under.
AnnotationDriver::__construct public function Initializes a new AnnotationDriver that uses the given AnnotationReader for reading docblock annotations.
SimpleAnnotationDriver::$entityAnnotationClasses protected property Name of the entity annotations as keys. Overrides AnnotationDriver::$entityAnnotationClasses
SimpleAnnotationDriver::loadMetadataForClass public function Loads the metadata for the specified class into the provided container. Overrides MappingDriver::loadMetadataForClass