메소드 |
설명 |
|
__construct ( string | null $className = null ) |
Helper for defining an object. |
|
constructor ( ) : ObjectDefinitionHelper |
Defines the arguments to use to call the constructor. |
|
constructorParameter ( string $parameter, mixed $value ) : ObjectDefinitionHelper |
Defines a value for a specific argument of the constructor. |
|
getDefinition ( $entryName ) |
|
|
lazy ( ) : ObjectDefinitionHelper |
Define the entry as lazy. |
|
method ( string $method ) : ObjectDefinitionHelper |
Defines a method to call and the arguments to use. |
|
methodParameter ( string $method, string $parameter, mixed $value ) : ObjectDefinitionHelper |
Defines a method to call and a value for a specific argument. |
|
property ( string $property, mixed $value ) : ObjectDefinitionHelper |
Defines a value to inject in a property of the object. |
|
scope ( string $scope ) : ObjectDefinitionHelper |
Defines the scope of the entry. |
|