351. Function

351.1. Zend\Di\Definition\getClasses

ZendDiDefinitiongetClasses()

Retrieves classes in this definition

Return type:string[]

352. Function

352.1. Zend\Di\Definition\hasClass

ZendDiDefinitionhasClass()

Return whether the class exists in this definition

Parameters:string
Return type:bool

353. Function

353.1. Zend\Di\Definition\getClassSupertypes

ZendDiDefinitiongetClassSupertypes()

Return the supertypes for this class

Parameters:string
Return type:string[]

354. Function

354.1. Zend\Di\Definition\getInstantiator

ZendDiDefinitiongetInstantiator()

@abstract

Parameters:string
Return type:string|array

355. Function

355.1. Zend\Di\Definition\hasMethods

ZendDiDefinitionhasMethods()

Return if there are injection methods

Parameters:string
Return type:bool

356. Function

356.1. Zend\Di\Definition\getMethods

ZendDiDefinitiongetMethods()

Return an array of the injection methods for a given class

Parameters:string
Return type:string[]

357. Function

357.1. Zend\Di\Definition\hasMethod

ZendDiDefinitionhasMethod()

@abstract

Parameters:
  • string
  • string
Return type:

bool

358. Function

358.1. Zend\Di\Definition\hasMethodParameters

ZendDiDefinitionhasMethodParameters()

@abstract

Parameters:
  • $class
  • $method
Return type:

bool

359. Function

359.1. Zend\Di\Definition\getMethodParameters

ZendDiDefinitiongetMethodParameters()

getMethodParameters() return information about a methods parameters.

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:
  • string
  • string
Return type:

array