protected function setUpSiteConfigFile($sitePath, $relativeThemePath, $themeName)
    {
        $source = $sitePath.'/'.$relativeThemePath.'/config.yml';
        $destination = $sitePath.'/config.yml';

        $this->fs->copy($source, $destination, true);

        $configContent = file_get_contents($destination);
        $configValues = Yaml::parse($configContent);
        $configValues['themes'] = ['name' => $themeName];

        $configParsed = Yaml::dump($configValues);

        $this->fs->dumpFile($destination, $configParsed);
    }
protected function setUpSiteConfigFile($sitePath, $relativeThemePath, $themeName)
    {
        $source = $sitePath.'/'.$relativeThemePath.'/config.yml';
        $destination = $sitePath.'/config.yml';

        $this->fs->copy($source, $destination, true);

        $configContent = file_get_contents($destination);
        $configValues = Yaml::parse($configContent);
        $configValues['themes'] = ['name' => $themeName];

        $configParsed = Yaml::dump($configValues);

        $this->fs->dumpFile($destination, $configParsed);
    }
protected function setUpSiteConfigFile ( $ sitePath , $ relativeThemePath , $ themeName ) { $ source = $ sitePath . '/' . $ relativeThemePath . '/config.yml' ; $ destination = $ sitePath . '/config.yml' ; $ this -> fs -> copy ( $ source , $ destination , true ) ; $ configContent = file_get_contents ( $ destination ) ; $ configValues = Yaml :: parse ( $ configContent ) ; $ configValues [ 'themes' ] = [ 'name' => $ themeName ] ; $ configParsed = Yaml :: dump ( $ configValues ) ; $ this -> fs -> dumpFile ( $ destination , $ configParsed ) ; }
Sets up the configuration file.

@param string $sitePath
@param string $relativeThemePath
@param string $themeName
Sets up the configuration file .