Shopware\PluginCreator\Services\NameGenerator::getBackendModelAlias PHP Method

getBackendModelAlias() public method

Determine the alias for the backend model
public getBackendModelAlias ( ) : string
return string
    public function getBackendModelAlias()
    {
        if (!$this->configuration->backendModel) {
            return 'alias';
        }
        $parts = explode('\\', $this->configuration->backendModel);
        return strtolower(array_pop($parts));
    }