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>
Expanded class hierarchy of StaticPHPDriver
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
StaticPHPDriver:: |
private | property | Map of all class names. | |
StaticPHPDriver:: |
private | property | Paths of entity directories. | |
StaticPHPDriver:: |
public | function | Add paths | |
StaticPHPDriver:: |
public | function |
@todo Same code exists in AnnotationDriver, should we re-use it somehow or not worry about it? Overrides MappingDriver:: |
|
StaticPHPDriver:: |
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:: |
|
StaticPHPDriver:: |
public | function |
Loads the metadata for the specified class into the provided container. Overrides MappingDriver:: |
|
StaticPHPDriver:: |
public | function | Constructor |