private function generateRouteName(array $resources)
    {
        $routeName = '';
        foreach ($resources as $resource) {
            if (null !== $resource) {
                $routeName .= '_'.basename($resource);
            }
        }

        return $routeName;
    }
private function generateRouteName(array $resources)
    {
        $routeName = '';
        foreach ($resources as $resource) {
            if (null !== $resource) {
                $routeName .= '_'.basename($resource);
            }
        }

        return $routeName;
    }
private function generateRouteName ( array $ resources ) { $ routeName = '' ; foreach ( $ resources as $ resource ) { if ( null !== $ resource ) { $ routeName .= '_' . basename ( $ resource ) ; } } return $ routeName ; }
Generates route name from resources list.

@param string[] $resources

@return string
Generates route name from resources list .