public function callMethod(string $methodName, array $parameters) : Response
    {
        $this->setUpView();
        /** @var Response $response */
        $response = $this->$methodName(...$parameters);

        if ($response === null || is_string($response)) {
            $response = new Response($response === null ? '' : $response);

            if ($this->viewCompiler instanceof ICompiler && $this->view !== null) {
                $response->setContent($this->viewCompiler->compile($this->view));
            }
        }

        return $response;
    }