Zend\Form\Factory::prepareAndInjectElements
Takes a list of element specifications, creates the elements, and injects them into the provided fieldset
Signature
protected function prepareAndInjectElements(array|Traversable|ArrayAccess
$elements,
FieldsetInterface
$fieldset,
string
$method )
Parameters
$elements
— object
$fieldset
— Zend\Form\FieldsetInterface
$method
— string- Method invoking this one (for exception messages)
Returns
- void