class NativeRequestHandler implements RequestHandlerInterface
A request handler using PHP's super globals $_GET, $_POST and $_SERVER.
| __construct(ServerParams $params = null) | ||
| 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. |
| ServerParams | $params |
Submits a form if it was submitted.
| FormInterface | $form | The form to submit |
| mixed | $request | The current request |
Returns true if the given data is a file upload.
| mixed | $data | The form field data |
| bool |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Form/NativeRequestHandler.html