Since introduction of DeferredCallable in Slim 3.2.0, the actual controller's callable is not given to the class implementing InvocationStrategy (the one set in $container['foundHandler'])
This makes it impossible to use reflection to find what are actual expected parameters.
I'm trying to use a custom InvocationStrategy that would match controller parameters names to route parameters - similar to the way it's done in Symfony HttpKernel. This was working in Slim 3.1.0, but not in 3.2.0.
Since introduction of
DeferredCallablein Slim 3.2.0, the actual controller's callable is not given to the class implementing InvocationStrategy (the one set in$container['foundHandler'])This makes it impossible to use reflection to find what are actual expected parameters.
I'm trying to use a custom
InvocationStrategythat would match controller parameters names to route parameters - similar to the way it's done in Symfony HttpKernel. This was working in Slim 3.1.0, but not in 3.2.0.