public function searchForRoute() {
        //$router = Mouf::getSplashDefaultRouter();
        $router = Mouf::getSplashMiddleware();

        $request = ServerRequestFactory::fromGlobals(
            $_SERVER,
            $_GET,
            $_POST,
            $_COOKIE,
            $_FILES
        );
        $response = new Response();

        $response = $router($request, $response, function(RequestInterface $request, ResponseInterface $response) {
            return $response->withHeader("Vary", "mouflaNotFound")->withStatus(404, "Mouf component not found");
        });
        return $response;
    }