RequestHandlerInterface

interface RequestHandlerInterface

Submits forms if they were submitted.

Methods

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

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

bool isFileUpload(mixed $data)

Returns true if the given data is a file upload.

Parameters

mixed $data The form field data

Return Value

bool

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