src/Driver.php
public function driver($name = null)
    {
        if (empty($this->id)) {
            $this->id = count(static::$drivers) + 1;
            static::$logs[$this->id] = array();
        }
        if (is_string($name)) {
            static::$drivers[$this->id] = $name;
        }

        return (isset(static::$drivers[$this->id])) ? static::$drivers[$this->id] : null;
    }
public function driver($name = null)
    {
        if (empty($this->id)) {
            $this->id = count(static::$drivers) + 1;
            static::$logs[$this->id] = array();
        }
        if (is_string($name)) {
            static::$drivers[$this->id] = $name;
        }

        return (isset(static::$drivers[$this->id])) ? static::$drivers[$this->id] : null;
    }
@param string $name Pass a value to set the database driver's name.

@return string|null The current database driver's name.