Class definition based on multiple definitions

package Default

 Methods

__construct()

__construct(\Zend\Di\Definition\DefinitionInterface|array<mixed,\Zend\Di\Definition\DefinitionInterface> $definitions) 

Parameters

$definitions

\Zend\Di\Definition\DefinitionInterfacearray<mixed,\Zend\Di\Definition\DefinitionInterface>

Add definitions

addDefinition(\Zend\Di\Definition\DefinitionInterface $definition, boolean $addToBackOfList = true) : void

Parameters

$definition

\Zend\Di\Definition\DefinitionInterface

$addToBackOfList

boolean

forClass()

forClass(string $class) : boolean | \Zend\Di\Definition\DefinitionInterface

Parameters

$class

string

Returns

boolean\Zend\Di\Definition\DefinitionInterface

{@inheritDoc}

getClassSupertypes($class) 

Parameters

$class

{@inheritDoc}

getClasses() 

Get definition by type

getDefinitionByType(string $type) : \Zend\Di\Definition\DefinitionInterface

Parameters

$type

string

Returns

\Zend\Di\Definition\DefinitionInterface

getDefinitionForClass()

getDefinitionForClass(string $class) : boolean | \Zend\Di\Definition\DefinitionInterface

Parameters

$class

string

Returns

boolean\Zend\Di\Definition\DefinitionInterface

getDefinitionsByType()

getDefinitionsByType(string $type) : array<mixed,\Zend\Di\Definition\DefinitionInterface>

Parameters

$type

string

Returns

array<mixed,\Zend\Di\Definition\DefinitionInterface>

{@inheritDoc}

getInstantiator($class) 

Parameters

$class

{@inheritDoc}

getMethodParameters($class, $method) 

Parameters

$class

$method

{@inheritDoc}

getMethods($class) 

Parameters

$class

{@inheritDoc}

hasClass($class) 

Parameters

$class

{@inheritDoc}

hasMethod($class, $method) 

Parameters

$class

$method

{@inheritDoc}

hasMethodParameters($class, $method) 

Parameters

$class

$method

{@inheritDoc}

hasMethods($class) 

Parameters

$class

push()

push($definition) 

Parameters

$definition

unshift()

unshift($definition) 

Parameters

$definition

getDefinitionClassMap()

getDefinitionClassMap(\Zend\Di\Definition\DefinitionInterface $definition) 

Parameters

$definition

 Properties

 

$classes

$classes 

Default

array()
 

$runtimeDefinitions

$runtimeDefinitions 

Default