class MappingDriverChain

The DriverChain allows you to add multiple other mapping drivers for certain namespaces

@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 MappingDriverChain

1 file declares its use of MappingDriverChain

File

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

Namespace

Doctrine\Common\Persistence\Mapping\Driver
View source

Members

Namesort descending Modifiers Type Description Overrides
MappingDriverChain::$defaultDriver private property The default driver
MappingDriverChain::$drivers private property
MappingDriverChain::addDriver public function Add a nested driver.
MappingDriverChain::getAllClassNames public function Gets the names of all mapped classes known to this driver. Overrides MappingDriver::getAllClassNames
MappingDriverChain::getDefaultDriver public function Get the default driver.
MappingDriverChain::getDrivers public function Get the array of nested drivers.
MappingDriverChain::isTransient public function Whether the class with the specified name should have its metadata loaded. Overrides MappingDriver::isTransient
MappingDriverChain::loadMetadataForClass public function Loads the metadata for the specified class into the provided container. Overrides MappingDriver::loadMetadataForClass
MappingDriverChain::setDefaultDriver public function Set the default driver.