/** * Path for the new image, based on the new history version * @return string */ public function getNewImagePath() { return $this->working_folder . "/" . $this->getNewHistoryVersion() . "-" . $this->original_image->attributeFromOriginal('filename'); }