protected function raw($ability, array $arguments)
    {
        if (is_null($user = $this->resolveUser())) {
            return false;
        }

        $result = $this->callBeforeCallbacks($user, $ability, $arguments);

        if (is_null($result)) {
            $result = $this->callAuthCallback($user, $ability, $arguments);
        }

        $this->callAfterCallbacks($user, $ability, $arguments, $result);

        return $result;
    }
protected function raw($ability, array $arguments)
    {
        if (is_null($user = $this->resolveUser())) {
            return false;
        }

        $result = $this->callBeforeCallbacks($user, $ability, $arguments);

        if (is_null($result)) {
            $result = $this->callAuthCallback($user, $ability, $arguments);
        }

        $this->callAfterCallbacks($user, $ability, $arguments, $result);

        return $result;
    }
protected function raw ( $ ability , array $ arguments ) { if ( is_null ( $ user = $ this -> resolveUser ( ) ) ) { return false ; } $ result = $ this -> callBeforeCallbacks ( $ user , $ ability , $ arguments ) ; if ( is_null ( $ result ) ) { $ result = $ this -> callAuthCallback ( $ user , $ ability , $ arguments ) ; } $ this -> callAfterCallbacks ( $ user , $ ability , $ arguments , $ result ) ; return $ result ; }
Get the raw result for the given ability for the current user.

@param  string  $ability
@param  array  $arguments
@return mixed
Get the raw result for the given ability for the current user .