/** * Generate the name of of the new File * * @return string */ public function generateProcessedFileNameWithoutExtension() { $name = $this->originalFile->getNameWithoutExtension(); $name .= '_' . $this->originalFile->getUid(); $name .= '_' . $this->calculateChecksum(); return $name; }
/** * Returns the basename (the name without extension) of this file. * * @return string */ public function getNameWithoutExtension() { return $this->originalFile->getNameWithoutExtension(); }