src/Console/Commands/PermissionsSync.php
protected function getRouteInformation(Route $route)
    {
        return $this->filterRoute([
            'name'   => $route->getName(),
            'isAuthorized' => $this->isAuthorized($route),
        ]);
    }
protected function getRouteInformation(Route $route)
    {
        return $this->filterRoute([
            'name'   => $route->getName(),
            'isAuthorized' => $this->isAuthorized($route),
        ]);
    }
protected function getRouteInformation ( Route $ route ) { return $ this -> filterRoute ( [ 'name' => $ route -> getName ( ) , 'isAuthorized' => $ this -> isAuthorized ( $ route ) , ] ) ; }
Get the route information for a given route.

@param  \Illuminate\Routing\Route  $route
@return array
Get the route information for a given route .