src/Permission.php
public function revokeRule($rule)
    {
        if ($this->hasRule($rule)) {
            unset($this->rules[$rule]);
            return true;
        } else {
            return false;
        }
    }
public function revokeRule($rule)
    {
        if ($this->hasRule($rule)) {
            unset($this->rules[$rule]);
            return true;
        } else {
            return false;
        }
    }
public function revokeRule ( $ rule ) { if ( $ this -> hasRule ( $ rule ) ) { unset ( $ this -> rules [ $ rule ] ) ; return true ; } else { return false ; } }
Revokes a rule from the Permission.

@param string $rule
@return bool
Revokes a rule from the Permission .