isProtected() public method

Determine if the route is protected.
public isProtected ( ) : boolean
return boolean
Example #1
0
 /**
  * Indicates if a route is not protected.
  *
  * @param \Dingo\Api\Routing\Route $route
  *
  * @return bool
  */
 protected function routeNotProtected(Route $route)
 {
     return !$route->isProtected();
 }