Classes/Controller/ManagementController.php
public function handleRequest(ServerRequestInterface $request): ResponseInterface
    {
        $this->request = $request;
        $action = $request->getQueryParams()['action'] ?? $request->getParsedBody()['action'] ?? 'overview';
        $this->initializeView($action);

        $result = call_user_func_array([$this, $action . 'Action'], [$request]);
        if ($result instanceof ResponseInterface) {
            return $result;
        }
        $this->moduleTemplate->setContent($this->view->render());
        return new HtmlResponse($this->moduleTemplate->renderContent());
    }
public function handleRequest(ServerRequestInterface $request): ResponseInterface
    {
        $this->request = $request;
        $action = $request->getQueryParams()['action'] ?? $request->getParsedBody()['action'] ?? 'overview';
        $this->initializeView($action);

        $result = call_user_func_array([$this, $action . 'Action'], [$request]);
        if ($result instanceof ResponseInterface) {
            return $result;
        }
        $this->moduleTemplate->setContent($this->view->render());
        return new HtmlResponse($this->moduleTemplate->renderContent());
    }
public function handleRequest ( ServerRequestInterface $ request ) : ResponseInterface { $ this -> request = $ request ; $ action = $ request -> getQueryParams ( ) [ 'action' ] ?? $ request -> getParsedBody ( ) [ 'action' ] ?? 'overview' ; $ this -> initializeView ( $ action ) ; $ result = call_user_func_array ( [ $ this , $ action . 'Action' ] , [ $ request ] ) ; if ( $ result instanceof ResponseInterface ) { return $ result ; } $ this -> moduleTemplate -> setContent ( $ this -> view -> render ( ) ) ; return new HtmlResponse ( $ this -> moduleTemplate -> renderContent ( ) ) ; }
Injects the request object for the current request, and renders the overview of all redirects

@param ServerRequestInterface $request the current request
@return ResponseInterface the response with the content
Injects the request object for the current request and renders the overview of all redirects