Пример #1
0
 /**
  * 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;
 }
Пример #2
0
 /**
  * Returns the basename (the name without extension) of this file.
  *
  * @return string
  */
 public function getNameWithoutExtension()
 {
     return $this->originalFile->getNameWithoutExtension();
 }