/** * @param ImageContentInterface $imageContent * @return string */ protected function saveFile(ImageContentInterface $imageContent) { $uri = $this->filesystem->getUri(DirectoryList::MEDIA); $filePath = $this->imageProcessor->processImageContent($this->destinationFolder, $imageContent); return $uri . $this->destinationFolder . $filePath; }
/** * @param ImageContentInterface $imageContent * @return string */ protected function saveFile(ImageContentInterface $imageContent) { $filePath = $this->imageProcessor->processImageContent($this->destinationFolder, $imageContent); return $this->destinationFolder . $filePath; }