CRUDlex\FileProcessorInterface::createFile PHP Method

createFile() public method

Creates the uploaded file of a newly created entity.
public createFile ( Request $request, Entity $entity, string $entityName, string $field ) : void
$request Symfony\Component\HttpFoundation\Request the HTTP request containing the file data
$entity Entity the just created entity
$entityName string the name of the entity as this class here is not aware of it
$field string the file field
return void
    public function createFile(Request $request, Entity $entity, $entityName, $field);