Closed denfil closed 5 years ago
@frederikbosch is there a way we can resolve it for 3.x with the same technique ? Else we can close this and move with 4.x .
Created another PR. As soon as the Travis lights are green, I will merge it in.
Closed via #180 and #179.
Here is code example:
In this case Aura.Di doesn't resolve parameter and output will be
NULL
. But if we remove default value__construct(Foo $foo)
then Aura.Di will succesfully resolve parameter and output will beobject(Foo)#11 (0) {}
Is it a bug or a feature?