Symfony\Component\Form\Button::submit
Submits data to the button.
Signature
public function submit(null|string
$submittedData,
[Boolean
$clearMissing = true] )
Parameters
$submittedData
— object- The data.
$clearMissing
— object- Not used.
Returns
- Button
- The button instance
Errors/Exceptions
-
AlreadySubmittedException
- If the button has already been submitted.