W3cubDocs

/Symfony 2.7

Symfony\Component\Form\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

public __construct(ServerParams $params = null)

{@inheritdoc}

Parameters

ServerParams $params

public 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–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Form/NativeRequestHandler.html