|
| createClassesFromArray (array $builderData) |
| Create classes from array.
|
|
| addClass (Builder\PhpClass $phpClass) |
| Add class.
|
|
| createClass ($name=null) |
| Create a class builder object using default class builder class.
|
|
| setClassBuilder ($class) |
| Set the class to use with createClass().
|
|
| getClassBuilder () |
| Get the class used for createClass().
|
|
| 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
|
|
| getMethods ($class) |
| Return an array of the injection methods for a given class.- Parameters
-
- Returns
- string[]
|
|
| hasMethod ($class, $method) |
| - Parameters
-
string | $class | |
string | $method | |
- Returns
- bool
|
|
| 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
|
|
Class definitions based on a configuration 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
- Exceptions
-
\Zend\Di\Exception\RuntimeException | |
Implements DefinitionInterface.