Checks whether injected parameters are compatible with type declarations.
This pass should be run after all optimization passes.
It can be added either:
- before removing passes to check all services even if they are not currently used,
- after removing passes to check only services are used in the app.
- author Nicolas Grekas
- author Julien Maulny
CloneableFinalInstantiable
| Methods |
public __construct(bool $autoload = false, array $skippedIds = [])
|
| Properties |
| protected bool $skipScalars = true |
| Methods |
| protected processValue(?mixed $value, bool $isRoot = false) : ?mixed |
| Constants |
| private Symfony |
| private Symfony |
| Properties |
| private bool $autoload |
| private Symfony |
| private array $skippedIds |
| Methods |
private checkType(Symfony
|
private checkTypeDeclarations(Symfony
|
| private getExpressionLanguage() : Symfony |