src/Policies/AclPolicy.php
protected function hasToBeAuthorized()
    {
        if ( in_array($this->route->getName(), self::$except) ) return false;

        return (bool) $this->route->getName();
    }
protected function hasToBeAuthorized()
    {
        if ( in_array($this->route->getName(), self::$except) ) return false;

        return (bool) $this->route->getName();
    }
protected function hasToBeAuthorized ( ) { if ( in_array ( $ this -> route -> getName ( ) , self :: $ except ) ) return false ; return ( bool ) $ this -> route -> getName ( ) ; }
Determines if routes has to be authorized.

@return bool
Determines if routes has to be authorized .