Zend\Di\Definition\Builder\PhpClass::createInjectionMethod
Create and register an injection method
Optionally takes the method name. This method may be used in lieu of addInjectionMethod() in order to provide a more fluent interface for building classes with injection methods.
Signature
public function createInjectionMethod([null|string
$name = null] )
Parameters
$name
— object
Returns
- InjectionMethod