CRUDlex\FileProcessorInterface::deleteFile PHP Method

deleteFile() public method

Deletes a specific file from an existing entity.
public deleteFile ( Entity $entity, string $entityName, string $field ) : void
$entity Entity the entity to delete the file from
$entityName string the name of the entity as this class here is not aware of it
$field string the field of the entity containing the file to be deleted
return void
    public function deleteFile(Entity $entity, $entityName, $field);