Zend Framework
3.0
|
Class definition based on multiple definitions. More...
Public Member Functions | |||||
__construct ($definitions) | |||||
addDefinition (Definition\DefinitionInterface $definition, $addToBackOfList=true) | |||||
Add definitions. | |||||
unshift ($definition) | |||||
push ($definition) | |||||
getDefinitionsByType ($type) | |||||
getDefinitionByType ($type) | |||||
Get definition by type. | |||||
forClass ($class) | |||||
getClasses () | |||||
Retrieves classes in this definition.
| |||||
hasMethodParameters ($class, $method) | |||||
| |||||
Public Member Functions inherited from DefinitionInterface | |||||
hasClass ($class) | |||||
Return whether the class exists in this definition. | |||||
getClassSupertypes ($class) | |||||
Return the supertypes for this class. | |||||
getInstantiator ($class) | |||||
| |||||
hasMethods ($class) | |||||
Return if there are injection methods. | |||||
getMethods ($class) | |||||
Return an array of the injection methods for a given class. | |||||
hasMethod ($class, $method) | |||||
| |||||
getMethodParameters ($class, $method) | |||||
getMethodParameters() return information about a methods parameters. | |||||
Protected Member Functions | |
getDefinitionClassMap (Definition\DefinitionInterface $definition) | |
Protected Attributes | |
$classes = [] | |
$runtimeDefinitions | |
Class definition based on multiple definitions.
__construct | ( | $definitions | ) |
Definition\DefinitionInterface|Definition\DefinitionInterface[] | $definitions |
addDefinition | ( | Definition\DefinitionInterface | $definition, |
$addToBackOfList = true |
|||
) |
Add definitions.
Definition\DefinitionInterface | $definition | |
bool | $addToBackOfList |
forClass | ( | $class | ) |
string | $class |
getClasses | ( | ) |
getDefinitionByType | ( | $type | ) |
|
protected |
getDefinitionsByType | ( | $type | ) |
string | $type |
hasMethodParameters | ( | $class, | |
$method | |||
) |
push | ( | $definition | ) |
unshift | ( | $definition | ) |
|
protected |
|
protected |