Class definitions based on a given array

package Default

 Methods

__construct()

__construct(array $dataArray) 

Parameters

$dataArray

array

Return the supertypes for this class

getClassSupertypes(string $class) 
inherited_from \Zend\Di\Definition\DefinitionInterface::getClassSupertypes()

Parameters

$class

Retrieves classes in this definition

getClasses() 
inherited_from \Zend\Di\Definition\DefinitionInterface::getClasses()

getInstantiator()

getInstantiator(string $class) 
inherited_from \Zend\Di\Definition\DefinitionInterface::getInstantiator()

Parameters

$class

getMethodParameters() return information about a methods parameters.

getMethodParameters(string $class, string $method) 

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 );

inherited_from \Zend\Di\Definition\DefinitionInterface::getMethodParameters()

Parameters

$class

$method

Return an array of the injection methods for a given class

getMethods(string $class) 
inherited_from \Zend\Di\Definition\DefinitionInterface::getMethods()

Parameters

$class

Return whether the class exists in this definition

hasClass(string $class) 
inherited_from \Zend\Di\Definition\DefinitionInterface::hasClass()

Parameters

$class

hasMethod()

hasMethod(string $class, string $method) 
inherited_from \Zend\Di\Definition\DefinitionInterface::hasMethod()

Parameters

$class

$method

hasMethodParameters()

hasMethodParameters($class, $method) 
inherited_from \Zend\Di\Definition\DefinitionInterface::hasMethodParameters()

Parameters

$class

$method

Return if there are injection methods

hasMethods(string $class) 
inherited_from \Zend\Di\Definition\DefinitionInterface::hasMethods()

Parameters

$class

toArray()

toArray() : array

Returns

array

 Properties

 

$dataArray

$dataArray : array

Default

array()