Zend\Form\Factory::prepareAndInjectObject
Prepare and inject an object
Takes a string indicating a class name, instantiates the class by that name, and injects the class instance as the bound object.
Signature
protected function prepareAndInjectObject(string
$objectName,
FieldsetInterface
$fieldset,
string
$method )
Parameters
$objectName
— string$fieldset
— Zend\Form\FieldsetInterface
$method
— string
Returns
- void