public function getResponse()
    {
        $statusCode = 200;
        $page = $this->getPage();
        if (!$page) {
            $statusCode = 404;
            $page = $this->getNotFoundPage();
        }

        return new Response(
            $page ? $page->getContent() : 'Not found',
            $statusCode
        );
    }