public function diDbMaster()
{
$config = $this->getDI()->getConfig();
if (!isset($config->dbAdapter->master->adapter) || !$config->dbAdapter->master) {
throw new Exception\RuntimeException(sprintf('No DB Master options found'));
}
return $this->diDbAdapter($config->dbAdapter->master->adapter, $config->dbAdapter->master->toArray(), $this->getDI());
}