Exemplo n.º 1
0
 /**
  * Renames the fileName in this particular usage.
  *
  * @param string $newName The new name
  * @return \TYPO3\CMS\Core\Resource\FileReference
  */
 public function rename($newName)
 {
     // TODO: Implement this function. This should only rename the
     // FileReference (sys_file_reference) record, not the file itself.
     throw new \BadMethodCallException('Function not implemented FileReference::rename().', 1333754473);
     return $this->fileRepository->renameUsageRecord($this, $newName);
 }