src/Generator/Analyzer/Steps/ResolveModuleNames.php
protected function checkForDuplicateNames()
    {
        $normalized = [];

        foreach ($this->data->rawData['modules'] as $moduleId => $module) {
            $normalized[ $moduleId ] = $this->normalizeName(
                array_get($module, 'prefixed_name') ?: $module['name']
            );
        }

        return $this->getKeysForDuplicates($normalized);
    }
protected function checkForDuplicateNames()
    {
        $normalized = [];

        foreach ($this->data->rawData['modules'] as $moduleId => $module) {
            $normalized[ $moduleId ] = $this->normalizeName(
                array_get($module, 'prefixed_name') ?: $module['name']
            );
        }

        return $this->getKeysForDuplicates($normalized);
    }
protected function checkForDuplicateNames ( ) { $ normalized = [ ] ; foreach ( $ this -> data -> rawData [ 'modules' ] as $ moduleId => $ module ) { $ normalized [ $ moduleId ] = $ this -> normalizeName ( array_get ( $ module , 'prefixed_name' ) ? : $ module [ 'name' ] ) ; } return $ this -> getKeysForDuplicates ( $ normalized ) ; }
Checks all modules for conflicting module names, and returns modules per
duplicate set.

@return array
Checks all modules for conflicting module names and returns modules per duplicate set .