NativeRequestHandler

class NativeRequestHandler implements RequestHandlerInterface

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

Methods

__construct(ServerParams $params = null)

{@inheritdoc}

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

Submits a form if it was submitted.

Details

__construct(ServerParams $params = null)

{@inheritdoc}

Parameters

ServerParams $params

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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Form/NativeRequestHandler.html