public static function getInstance(RoutingConfiguration $configuration, Request $request): RestRouter
    {
        if (null === self::$instance) {
            self::$instance = new RestRouter($configuration, $request);
        }

        return self::$instance;
    }