HttpFoundationRequestHandler

class HttpFoundationRequestHandler implements RequestHandlerInterface

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

Methods

__construct(ServerParams $serverParams = null)

{@inheritdoc}

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

Submits a form if it was submitted.

Details

__construct(ServerParams $serverParams = null)

{@inheritdoc}

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.