Resolve arguments for unfound instances
Closed this issue · 0 comments
dugajean commented
So assuming that a service isn't registered in pouch, then pouch will attempt to new up a fresh instance without any arguments, unless the registerNamespaces
s' second argument of overriders is provided.
However, the parameter of the required class should be fetched via reflection and placed accordingly, recursively, if possible.
Solve in: Resolvable.php
around line $args[$pos] = new $className;
(152).