src/Titon/Db/Database.php
public function getDriver($key) {
        if (isset($this->_drivers[$key])) {
            return $this->_drivers[$key];
        }

        throw new MissingDriverException(sprintf('Driver %s does not exist', $key));
    }
public function getDriver($key) {
        if (isset($this->_drivers[$key])) {
            return $this->_drivers[$key];
        }

        throw new MissingDriverException(sprintf('Driver %s does not exist', $key));
    }
public function getDriver ( $ key ) { if ( isset ( $ this -> _drivers [ $ key ] ) ) { return $ this -> _drivers [ $ key ] ; } throw new MissingDriverException ( sprintf ( 'Driver %s does not exist' , $ key ) ) ; }
Return a driver by key.

@param string $key
@return \Titon\Db\Driver
@throws \Titon\Db\Exception\MissingDriverException
Return a driver by key .