public function setConfig(
    $host,
        $name = 'schema',
        DriverInterface $driver = null
    ) {
        $this->driver = \is_null($driver)
            ? new Driver\Json()
            : $driver;
        $this->path   = $host;
        $this->name   = $name;
        $this->file   = $host . DIRECTORY_SEPARATOR . $name . '.' . $this->driver->getExtension();

        return $this;
    }