class NativeRequestHandler implements RequestHandlerInterface

A request handler using PHP's super globals $GET, $POST and $_SERVER.

Methods

__construct(ServerParams $params = 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

at line line 37
__construct(ServerParams $params = null)

Parameters

ServerParams $params

at line line 45
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

at line line 124
bool isFileUpload(mixed $data)

Returns true if the given data is a file upload.

Parameters

mixed $data The form field data

Return Value

bool