/** * Format attachment model * * @param \XLite\Module\CDev\FileAttachments\Model\Product\Attachment $attachment Attachment * * @return string */ protected function formatAttachmentModel(\XLite\Module\CDev\FileAttachments\Model\Product\Attachment $attachment) { return $this->formatStorageModel($attachment->getStorage(), $attachment->getPrivate() ?: null); }