24trait CallableResolverAwareTrait
36 protected function resolveCallable($callable)
38 if (!$this->container instanceof ContainerInterface) {
43 $resolver = $this->container->get(
'callableResolver');
45 return $resolver->
resolve($callable);
An exception for terminatinating execution or to throw for unit testing.
Describes the interface of a container that exposes methods to read its entries.
resolve($toResolve)
Invoke the resolved callable.
Slim Framework (https://slimframework.com)