class HttpFoundationRequestHandler implements RequestHandlerInterface

A request processor using the {@link Request} class of the HttpFoundation component.

Methods

__construct(ServerParams $serverParams = null)

No description

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

__construct(ServerParams $serverParams = null)

Parameters

ServerParams $serverParams

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