Method |
Description |
|
addServiceToAmbiguousType ( $id, $type ) |
|
|
autowireMethod ( string $id, Definition $definition, ReflectionMethod $reflectionMethod ) |
Autowires the constructor or a setter. |
|
completeDefinition ( string $id, Definition $definition, array $autowiredMethods ) |
Wires the given definition. |
|
createAutowiredDefinition ( ReflectionClass $typeHint, string $id ) : Reference |
Registers a definition for the type if possible or throws an exception. |
|
getMethodsToAutowire ( string $id, ReflectionClass $reflectionClass, array $autowiredMethods ) : ReflectionMethod[] |
Gets the list of methods to autowire. |
|
getReflectionClass ( string $id, Definition $definition ) : ReflectionClass | false |
Retrieves the reflection class associated with the given service. |
|
getResourceMetadataForMethod ( ReflectionMethod $method ) |
|
|
populateAvailableType ( string $id, Definition $definition ) |
Populates the list of available types for a given definition. |
|
populateAvailableTypes ( ) |
Populates the list of available types. |
|
set ( string $type, string $id ) |
Associates a type and a service id if applicable. |
|