Zend\Form\Element\Collection::setShouldCreateTemplate
If set to true, a template prototype is automatically added to the form to ease the creation of dynamic elements through JavaScript
Signature
public function setShouldCreateTemplate(bool
$shouldCreateTemplate )
Parameters
$shouldCreateTemplate
— object
Returns
- Collection