/** * Copies a file from the storage for local processing. * * @param \TYPO3\CMS\Core\Resource\FileInterface $fileObject * @param bool $writable * @return string Path to local file (either original or copied to some temporary local location) */ public function getFileForLocalProcessing(\TYPO3\CMS\Core\Resource\FileInterface $fileObject, $writable = TRUE) { $filePath = $this->driver->getFileForLocalProcessing($fileObject, $writable); // @todo: shouldn't this go in the driver? this function is called from the indexing service // @todo: and recursively calls itself over and over again, this is left out for now with getModificationTime() // touch($filePath, $fileObject->getModificationTime()); return $filePath; }