|
| __construct (array $dataArray) |
|
| getClasses () |
| Retrieves classes in this definition.- Returns
- string[]
|
|
| hasClass ($class) |
| Return whether the class exists in this definition.- Parameters
-
- Returns
- bool
|
|
| getClassSupertypes ($class) |
| Return the supertypes for this class.- Parameters
-
- Returns
- string[]
|
|
| getInstantiator ($class) |
| - Parameters
-
- Returns
- string|array
|
|
| hasMethods ($class) |
| Return if there are injection methods.- Parameters
-
- Returns
- bool
|
|
| hasMethod ($class, $method) |
| - Parameters
-
string | $class | |
string | $method | |
- Returns
- bool
|
|
| getMethods ($class) |
| Return an array of the injection methods for a given class.- Parameters
-
- Returns
- string[]
|
|
| hasMethodParameters ($class, $method) |
| - Parameters
-
- Returns
- bool
|
|
| getMethodParameters ($class, $method) |
| 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 | $class | |
string | $method | |
- Returns
- array
|
|
| toArray () |
|
Class definitions based on a given array.
getMethodParameters |
( |
|
$class, |
|
|
|
$method |
|
) |
| |
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 | $class | |
string | $method | |
- Returns
- array
Implements DefinitionInterface.