correctThemeName example

'theme'             => 'templates/{$name}/',
        'plugin'            => 'custom/plugins/{$name}/',
        'frontend-theme'    => 'themes/Frontend/{$name}/',
    );

    /** * Transforms the names */
    public function inflectPackageVars(array $vars): array
    {
        if ($vars['type'] === 'shopware-theme') {
            return $this->correctThemeName($vars);
        }

        return $this->correctPluginName($vars);
    }

    /** * Changes the name to a camelcased combination of vendor and name * * @param array<string, string> $vars * @return array<string, string> */
    
Home | Imprint | This part of the site doesn't use cookies.