interface RequestHandlerInterface

Submits forms if they were submitted.

Methods

handleRequest(FormInterface $form, mixed $request = null)

Submits a form if it was submitted.

bool
isFileUpload(mixed $data)

Returns true if the given data is a file upload.

Details

handleRequest(FormInterface $form, mixed $request = null)

Submits a form if it was submitted.

Parameters

FormInterface $form The form to submit
mixed $request The current request

bool isFileUpload(mixed $data)

Returns true if the given data is a file upload.

Parameters

mixed $data The form field data

Return Value

bool