src/CRUDlex/FileHandler.php
public function updateFiles(AbstractData $data, Request $request, Entity $entity, $entityName)
    {
        // With optional soft deletion, the file should be deleted first.
        return $this->shouldWriteFile($data, $request, $entity, $entityName, 'updateFiles');
    }
public function updateFiles(AbstractData $data, Request $request, Entity $entity, $entityName)
    {
        // With optional soft deletion, the file should be deleted first.
        return $this->shouldWriteFile($data, $request, $entity, $entityName, 'updateFiles');
    }
public function updateFiles ( AbstractData $ data , Request $ request , Entity $ entity , $ entityName ) { // With optional soft deletion, the file should be deleted first. return $ this -> shouldWriteFile ( $ data , $ request , $ entity , $ entityName , 'updateFiles' ) ; }
Updates the uploaded files of an updated entity.

@param AbstractData $data
the AbstractData instance who should receive the events
@param Request $request
the HTTP request containing the file data
@param Entity $entity
the updated entity
@param string $entityName
the name of the entity as this class here is not aware of it

@return boolean
true on successful update
Updates the uploaded files of an updated entity .