src/Generator/Analyzer/Steps/ResolveModuleNames.php
protected function addModuleIdPostFix($moduleId)
    {
        // undo previously applied prefixes (if any)
        $this->data->rawData['modules'][ $moduleId ]['prefixed_name'] = null;
        $this->prefixModuleName($moduleId);

        // postfix the module ID
        $module = $this->data->rawData['modules'][ $moduleId ];

        $this->data->rawData['modules'][ $moduleId ]['prefixed_name'] =
            trim(array_get($module, 'prefixed_name') ?: $module['name']) . ' ' . $moduleId;
    }
protected function addModuleIdPostFix($moduleId)
    {
        // undo previously applied prefixes (if any)
        $this->data->rawData['modules'][ $moduleId ]['prefixed_name'] = null;
        $this->prefixModuleName($moduleId);

        // postfix the module ID
        $module = $this->data->rawData['modules'][ $moduleId ];

        $this->data->rawData['modules'][ $moduleId ]['prefixed_name'] =
            trim(array_get($module, 'prefixed_name') ?: $module['name']) . ' ' . $moduleId;
    }
protected function addModuleIdPostFix ( $ moduleId ) { // undo previously applied prefixes (if any) $ this -> data -> rawData [ 'modules' ] [ $ moduleId ] [ 'prefixed_name' ] = null ; $ this -> prefixModuleName ( $ moduleId ) ; // postfix the module ID $ module = $ this -> data -> rawData [ 'modules' ] [ $ moduleId ] ; $ this -> data -> rawData [ 'modules' ] [ $ moduleId ] [ 'prefixed_name' ] = trim ( array_get ( $ module , 'prefixed_name' ) ? : $ module [ 'name' ] ) . ' ' . $ moduleId ; }
Postfixes the module name with the module ID, as a last resort to
making a unique module name.

Ideally this should undo any other attempts by prefixes, since
they are useless anyway.. but this might be tricky in edge cases.
You'd have to recheck for duplicates or trust the module IDs.
We'll do the latter for now.

@param $moduleId
Postfixes the module name with the module ID as a last resort to making a unique module name .