30 $this->callable = $callable;
36 $callable = $this->resolveCallable($this->callable);
37 if ($callable instanceof
Closure) {
38 $callable = $callable->bindTo($this->container);
41 $args = func_get_args();
43 return call_user_func_array($callable, $args);
Describes the interface of a container that exposes methods to read its entries.
Slim Framework (https://slimframework.com)
__construct($callable, ContainerInterface $container=null)
DeferredMiddleware constructor.