public function setDefaultDriver()
{
// Retrieve the default driver.
$driver = $this->getDriver($this->getDefaultDriver());
foreach ($this->getDriverFallbacks() as $fallback) {
// We'll add each fallback to our responsibility chain.
$driver->fallback($this->getDriver($fallback));
}
// Finally, set the driver.
$this->setDriver($driver);
}