Zend\Form\Factory::create
Create an element, fieldset, or form
Introspects the 'type' key of the provided $spec, and determines what type is being requested; if none is provided, assumes the spec represents simply an element.
Signature
public function create(array|Traversable
$spec )
Parameters
$spec
— object
Returns
- ElementInterface