/** * Update index entry * * @param File $fileObject * @return void */ public function updateIndexEntry(File $fileObject) { $updatedInformation = $this->gatherFileInformationArray($fileObject->getIdentifier()); $fileObject->updateProperties($updatedInformation); $this->getFileIndexRepository()->update($fileObject); $this->extractRequiredMetaData($fileObject); }