Resolver
class Resolver
internal |
Services resolver
Methods
No description
No description
Normalizes reference to 'self' or named reference (or leaves it typed if it is not possible during resolving) and checks existence of service.
Returns named reference to service resolved by type (or 'self' reference for local-autowiring).
Adds item to the list of dependencies.
Add missing arguments using autowiring.
Details
at line 48
__construct(ContainerBuilder $builder)
No description
at line 55
ContainerBuilder
getContainerBuilder()
No description
at line 61
void
resolveDefinition(Definition $def)
No description
at line 85
string|null
resolveReferenceType(Reference $ref)
No description
at line 102
string|null
resolveEntityType(Statement $statement)
No description
at line 159
void
completeDefinition(Definition $def)
No description
at line 181
Statement
completeStatement(Statement $statement, bool $currentServiceAllowed = false)
No description
at line 318
array
completeArguments(array $arguments)
No description
at line 378
Reference
normalizeReference(Reference $ref)
Normalizes reference to 'self' or named reference (or leaves it typed if it is not possible during resolving) and checks existence of service.
at line 401
Definition
resolveReference(Reference $ref)
No description
at line 414
Reference
getByType(string $type)
Returns named reference to service resolved by type (or 'self' reference for local-autowiring).
at line 441
Resolver
addDependency(ReflectionClass|ReflectionFunctionAbstract|string $dep)
Adds item to the list of dependencies.
at line 530
static array
autowireArguments(ReflectionFunctionAbstract $method, array $arguments, callable $getter)
Add missing arguments using autowiring.
Traits
Strict class for better experience.