addInjectionMethod()
addSuperType()
createInjectionMethod()
getInjectionMethods()
getInstantiator()
getMethodBuilder()
getName()
getSuperTypes()
setInstantiator()
setMethodBuilder()
setName()
$defaultMethodBuilder
$injectionMethods
$instantiator
$name
$superTypes
Object containing definitions for a single class
addInjectionMethod(\Zend\Di\Definition\Builder\InjectionMethod $injectionMethod) : \Zend\Di\Definition\Builder\PhpClass
createInjectionMethod(null | string $name) : \Zend\Di\Definition\Builder\InjectionMethod
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.
nullstring
getInjectionMethods() : \Zend\Di\Definition\Builder\InjectionMethod[]
getInstantiator() : array | \Callable | string
array
\Callable
string
getMethodBuilder() : string
Mainly to provide the ability to temporarily override the class used.
string
getName() : string
string
getSuperTypes() : array
array
setInstantiator(string | \Callable | array $instantiator) : \Zend\Di\Definition\Builder\PhpClass
setMethodBuilder(string $class) : \Zend\Di\Definition\Builder\PhpClass
$defaultMethodBuilder : string
$instantiator : string | \Callable | array
$name : null | string
$superTypes : array