public removeAttachment ( |
||
$attachment |
/** * @param PermissionAttachment $attachment */ public function removeAttachment(PermissionAttachment $attachment) { $this->perm->removeAttachment($attachment); }
/** * @param PermissionAttachment $attachment * @return bool */ public function removeAttachment(PermissionAttachment $attachment) { if ($this->perm == null) { return false; } $this->perm->removeAttachment($attachment); return true; }