public function addAttachment(AttachmentInterface $attachment) { $this->attachments->add($attachment); return $this; }