Symfony\Component\Form\Form::offsetUnset
Removes the child with the given name from the form (implements the \ArrayAccess interface).
Signature
public function offsetUnset(string
$name )
Parameters
$name
— string- The name of the child to remove
Errors/Exceptions
-
AlreadySubmittedException
- If the form has already been submitted.