Classes/Controller/BackendController.php
Method createMenu
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function createMenu(ModuleTemplate $moduleTemplate): void
{
$menu = $moduleTemplate->getDocHeaderComponent()->getMenuRegistry()->makeMenu();
$menu->setIdentifier('auth0');
Method addButton
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected function addButton(string $label, string $actionName, string $controllerName, string $icon, ModuleTemplate $moduleTemplate): void
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApplicationRepository $applicationRepository,
ModuleTemplateFactory $moduleTemplateFactory,
IconFactory $iconFactory,
UriBuilder $uriBuilder,
BackendUriBuilder $backendUriBuilder