code: public function handle($request, Closure $next)
      {
          /* @var $translationManager Manager */
          $translationManager = App::make(ManagerServiceProvider::PACKAGE);
  
          $response = $next($request);
  
          $translationManager->afterRoute($request, $response);
  
          return $response;
      }
docs: Handle an incoming request.
  
  @param  \Illuminate\Http\Request $request
  @param  \Closure $next
  @return mixed