$variableOverridesFile =
$directory . '/src/Resources/app/storefront/src/scss/overrides.scss';
$composer =
str_replace( ['#namespace#', '#class#'
],
[$pluginName,
$pluginName],
$this->
getComposerTemplate() );
$bootstrap =
str_replace( ['#namespace#', '#class#'
],
[$pluginName,
$pluginName],
$this->
getBootstrapTemplate() );
$themeConfig =
str_replace( ['#name#', '#snake-case#'
],
[$themeName,
$snakeCaseName],
$this->
getThemeConfigTemplate() );
file_put_contents($composerFile,
$composer);
file_put_contents($bootstrapFile,
$bootstrap);
file_put_contents($themeConfigFile,
$themeConfig);