dugajean/pouch

Resolve arguments for unfound instances

Closed this issue · 0 comments

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 registerNamespacess' 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).