Airship\Engine\Continuum\Installers\Cabin::defaultCabinConfig PHP Method

defaultCabinConfig() protected method

Create the default configuration
protected defaultCabinConfig ( string $nameSpace ) : boolean
$nameSpace string
return boolean
    protected function defaultCabinConfig(string $nameSpace) : bool
    {
        $twigEnv = \Airship\configWriter(ROOT . '/Cabin/' . $nameSpace . '/config/templates');
        return \file_put_contents(ROOT . '/Cabin/' . $nameSpace . '/config/config.json', $twigEnv->render('config.twig')) !== false;
    }