/** * @param Attachment $attachment */ public function removeAttachment(Attachment $attachment) { $this->attachments->remove($attachment->getId()); $this->raise(new AttachmentWasDeletedFromTicket($this->uniqueId, $this->subject, $attachment->getFilename())); }
public function removeAttachment(Attachment $attachment) { $this->attachments->remove($attachment->getId()); }