code: protected function getRouteInformation(Route $route)
      {
          return $this->filterRoute([
              'name'   => $route->getName(),
              'isAuthorized' => $this->isAuthorized($route),
          ]);
      }
docs: Get the route information for a given route.
  
  @param  \Illuminate\Routing\Route  $route
  @return array