Class definition based on multiple definitions

 Methods

add()

add() 

inherited_from SplDoublyLinkedList::add()

Add definitions

addDefinition(\Zend\Di\Definition\DefinitionInterface $definition, bool $addToBackOfList) : void

Parameters

$addToBackOfList

bool

bottom()

bottom() 

inherited_from SplDoublyLinkedList::bottom()

count()

count() 

inherited_from SplDoublyLinkedList::count()

current()

current() 

inherited_from SplDoublyLinkedList::current()

forClass()

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

Parameters

$class

string

Returns

Return the supertypes for this class

getClassSupertypes(string $class) : string[]

Parameters

$class

string

Returns

string[]

Retrieves classes in this definition

getClasses() : string[]

Returns

string[]

Get definition by type

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

Parameters

$type

string

Returns

getDefinitionForClass()

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

Parameters

$class

string

Returns

getDefinitionsByType()

getDefinitionsByType(string $type) : \Zend\Di\Definition\DefinitionInterface[]

Parameters

$type

string

Returns

getInstantiator()

getInstantiator(string $class) : string | array

Parameters

$class

string

Returns

stringarray

getIteratorMode()

getIteratorMode() 

inherited_from SplDoublyLinkedList::getIteratorMode()

getMethodParameters() return information about a methods parameters.

getMethodParameters(string $class, string $method) : array

Should return an ordered named array of parameters for a given method. Each value should be an array, of length 4 with the following information:

array( 0, // string|null: Type Name (if it exists) 1, // bool: whether this param is required 2, // string: fully qualified path to this parameter 3, // mixed: default value );

Parameters

$class

string

$method

string

Returns

array

Return an array of the injection methods for a given class

getMethods(string $class) : string[]

Parameters

$class

string

Returns

string[]

Return whether the class exists in this definition

hasClass(string $class) : bool

Parameters

$class

string

Returns

bool

hasMethod()

hasMethod(string $class, string $method) : bool

Parameters

$class

string

$method

string

Returns

bool

hasMethodParameters()

hasMethodParameters($class, $method) : bool

Parameters

$class

$method

Returns

bool

Return if there are injection methods

hasMethods(string $class) : bool

Parameters

$class

string

Returns

bool

isEmpty()

isEmpty() 

inherited_from SplDoublyLinkedList::isEmpty()

key()

key() 

inherited_from SplDoublyLinkedList::key()

offsetExists()

offsetExists() 

inherited_from SplDoublyLinkedList::offsetExists()

offsetGet()

offsetGet() 

inherited_from SplDoublyLinkedList::offsetGet()

offsetSet()

offsetSet() 

inherited_from SplDoublyLinkedList::offsetSet()

offsetUnset()

offsetUnset() 

inherited_from SplDoublyLinkedList::offsetUnset()

pop()

pop() 

inherited_from SplDoublyLinkedList::pop()

push()

push() 

inherited_from SplDoublyLinkedList::push()

rewind()

rewind() 

inherited_from SplDoublyLinkedList::rewind()

serialize()

serialize() 

inherited_from SplDoublyLinkedList::serialize()

setIteratorMode()

setIteratorMode() 

inherited_from SplDoublyLinkedList::setIteratorMode()

shift()

shift() 

inherited_from SplDoublyLinkedList::shift()

top()

top() 

inherited_from SplDoublyLinkedList::top()

unserialize()

unserialize() 

inherited_from SplDoublyLinkedList::unserialize()

unshift()

unshift() 

inherited_from SplDoublyLinkedList::unshift()

valid()

valid() 

inherited_from SplDoublyLinkedList::valid()