You are here

public function MappingDriverChain::setDefaultDriver in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain::setDefaultDriver()

Set the default driver.

Parameters

MappingDriver $driver:

Return value

void

File

vendor/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\Driver

Code

public function setDefaultDriver(MappingDriver $driver) {
  $this->defaultDriver = $driver;
}