protected function createDriver($driverClass): Driver\DriverInterface
    {
        return isset($this->container)
            ? $this->container->get($driverClass)
            : new $driverClass();
    }