protected function cloneLaravelRouter()
    {
        $router = clone $this->app['router'];
        $router->aliasMiddleware('api.auth', NodesHttpMiddlewareAuth::class);
        $router->aliasMiddleware('api.controllers', NodesHttpMiddlewarePrepareController::class);
        $router->aliasMiddleware('api.throttle', NodesHttpMiddlewareRateLimit::class);
        $router->aliasMiddleware('api.useragent', NodesHttpMiddlewareUserAgent::class);
        $router->aliasMiddleware('api.meta', NodesHttpMiddleware::class);

        return $router;
    }