public function driver($driver)
    {
        if (is_null($this->config->get($driver))) {
            throw new InvalidArgumentException("Driver [$driver]'s Config is not defined.");
        }
        $this->drivers = $driver;
        return $this;
    }
public function driver($driver)
    {
        if (is_null($this->config->get($driver))) {
            throw new InvalidArgumentException("Driver [$driver]'s Config is not defined.");
        }
        $this->drivers = $driver;
        return $this;
    }
public function driver ( $ driver ) { if ( is_null ( $ this -> config -> get ( $ driver ) ) ) { throw new InvalidArgumentException ( "Driver [$driver]'s Config is not defined." ) ; } $ this -> drivers = $ driver ; return $ this ; }
指定驱动器
@param string $driver
@return $this
指定驱动器