DriverChain
public class DriverChain
www.doctrine-project.org
Method Summary | |
---|---|
void | addDriver(Driver nestedDriver, string namespace) Add a nested driver. |
array | Gets the names of all mapped classes known to this driver. |
array | Get the array of nested drivers. |
boolean | isTransient(string className) Whether the class with the specified name should have its metadata loaded. |
void | loadMetadataForClass(string className, ClassMetadataInfo metadata) Loads the metadata for the specified class into the provided container. |
public void addDriver(Driver nestedDriver, string namespace)
Add a nested driver.
public array getAllClassNames()
Gets the names of all mapped classes known to this driver.
public array getDrivers()
Get the array of nested drivers.
public boolean isTransient(string className)
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.
public void loadMetadataForClass(string className, ClassMetadataInfo metadata)
Loads the metadata for the specified class into the provided container.
The DriverChain allows you to add multiple other mapping drivers for certain namespaces