src/Ruler/Ruler/Permission.php
public function removePermission($permission)
    {
        if ($this->hasPermission($permission)) {
            $index =  array_search($permission, $this->permissions);
            unset($this->permissions[$index]);
        }

        return $this;
    }
public function removePermission($permission)
    {
        if ($this->hasPermission($permission)) {
            $index =  array_search($permission, $this->permissions);
            unset($this->permissions[$index]);
        }

        return $this;
    }
public function removePermission ( $ permission ) { if ( $ this -> hasPermission ( $ permission ) ) { $ index = array_search ( $ permission , $ this -> permissions ) ; unset ( $ this -> permissions [ $ index ] ) ; } return $ this ; }
Remove permission from ermission container

@param $permission
@return $this
Remove permission from ermission container