offsetSet(string $name, FormInterface $child)
Adds a child to the form (implements the \ArrayAccess interface).
Parameters string $name Ignored. The name of the child is used FormInterface $child The child to be added Exceptions AlreadySubmittedException If the form has already been submitted. LogicException When trying to add a child to a non-compound form. See also self::add()