class StaticPHPDriver

The StaticPHPDriver calls a static loadMetadata() method on your entity classes where you can manually populate the ClassMetadata instance.

@license http://www.opensource.org/licenses/lgpl-license.php LGPL @link www.doctrine-project.org @since 2.2 @author Benjamin Eberlei <kontakt@beberlei.de> @author Guilherme Blanco <guilhermeblanco@hotmail.com> @author Jonathan H. Wage <jonwage@gmail.com> @author Roman Borschel <roman@code-factory.org>

Hierarchy

Expanded class hierarchy of StaticPHPDriver

1 file declares its use of StaticPHPDriver

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/StaticPHPDriver.php, line 37

Namespace

Doctrine\Common\Persistence\Mapping\Driver
View source

Members

Namesort descending Modifiers Type Description Overrides
StaticPHPDriver::$classNames private property Map of all class names.
StaticPHPDriver::$paths private property Paths of entity directories.
StaticPHPDriver::addPaths public function Add paths
StaticPHPDriver::getAllClassNames public function @todo Same code exists in AnnotationDriver, should we re-use it somehow or not worry about it? Overrides MappingDriver::getAllClassNames
StaticPHPDriver::isTransient public function 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. Overrides MappingDriver::isTransient
StaticPHPDriver::loadMetadataForClass public function Loads the metadata for the specified class into the provided container. Overrides MappingDriver::loadMetadataForClass
StaticPHPDriver::__construct public function Constructor