public function getAttachmentFromStorage(Attachment $attachment) { $attachmentPath = $this->getStorageBasePath() . $attachment->path; return $this->getStorage()->get($attachmentPath); }