public function MappingDriverChain::setDefaultDriver in Plug 7
Set the default driver.
Parameters
MappingDriver $driver:
Return value
void
File
- lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ Driver/ MappingDriverChain.php, line 66
Class
- MappingDriverChain
- The DriverChain allows you to add multiple other mapping drivers for certain namespaces.
Namespace
Doctrine\Common\Persistence\Mapping\DriverCode
public function setDefaultDriver(MappingDriver $driver) {
$this->defaultDriver = $driver;
}