/** * Get attachments from a MauticMessage * * @return array */ public function getAttachments() { return $this->message instanceof MauticMessage ? $this->message->getAttachments() : array(); }