/** * Copies a file from the storage for local processing. * * @param FileInterface $fileObject * @param bool $writable * @return string Path to local file (either original or copied to some temporary local location) */ public function getFileForLocalProcessing(FileInterface $fileObject, $writable = true) { $filePath = $this->driver->getFileForLocalProcessing($fileObject->getIdentifier(), $writable); return $filePath; }