src/Schema.php
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;
    }
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;
    }
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 ; }
Enregistre la configuration.

@param string               $host   Répertoire de stockage des données.
@param string               $name   Nom du fichier contenant le schéma de base.
@param DriverInterface|null $driver Interface de manipulation de données.
Enregistre la configuration .