public function driver($driver = '', array $configs = [])
    {
        $driverList = $this->defaultDriverList;
        if (isset($driverList[$driver])) {
            $driver = $driverList[$driver];
            $driver = new $driver($configs);

            if ($driver instanceof DriverInterface) {
                return $driver;
            } else {
                throw new DriverException(sprintf('your %s driver has not Driver Interface', get_class($driver)));
            }
        } else {
            throw new DriverNotInstalledException(sprintf('your %s driver is not installed', $driver));
        }

    }