protected function isSecurityException()
    {
        if (!count($this->csrfExceptions))
            return false;
        foreach ($this->csrfExceptions as $route) {
            list($module, $controller, $action) = explode('/', $route);
            if ($module != $this->module) {
                continue;
            }
            if ('*' == $controller)
                return true;

            if ($controller != $this->controller)
                continue;

            if ('*' == $action)
                return true;

            return ($action == $this->action);
        }
        return false;
    }
protected function isSecurityException()
    {
        if (!count($this->csrfExceptions))
            return false;
        foreach ($this->csrfExceptions as $route) {
            list($module, $controller, $action) = explode('/', $route);
            if ($module != $this->module) {
                continue;
            }
            if ('*' == $controller)
                return true;

            if ($controller != $this->controller)
                continue;

            if ('*' == $action)
                return true;

            return ($action == $this->action);
        }
        return false;
    }
protected function isSecurityException ( ) { if ( ! count ( $ this -> csrfExceptions ) ) return false ; foreach ( $ this -> csrfExceptions as $ route ) { list ( $ module , $ controller , $ action ) = explode ( '/' , $ route ) ; if ( $ module != $ this -> module ) { continue ; } if ( '*' == $ controller ) return true ; if ( $ controller != $ this -> controller ) continue ; if ( '*' == $ action ) return true ; return ( $ action == $ this -> action ) ; } return false ; }
Check if current url is exception for csrf check
@return bool
Check if current url is exception for csrf check