public function revoke($flag)
    {
        if (is_string($flag) && defined('static::' . strtoupper($flag))) {
            $flag = constant('static::' . strtoupper($flag));
        }

        $this->mask &= ~$flag;

        return $this;
    }
public function revoke($flag)
    {
        if (is_string($flag) && defined('static::' . strtoupper($flag))) {
            $flag = constant('static::' . strtoupper($flag));
        }

        $this->mask &= ~$flag;

        return $this;
    }
public function revoke ( $ flag ) { if ( is_string ( $ flag ) && defined ( 'static::' . strtoupper ( $ flag ) ) ) { $ flag = constant ( 'static::' . strtoupper ( $ flag ) ) ; } $ this -> mask &= ~ $ flag ; return $ this ; }
Revoke a permission on this calendar

@param integer $flag Flag to deactivate

@return $this
Revoke a permission on this calendar