ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
CallableResolverAwareTrait.php
Go to the documentation of this file.
1 <?php
9 namespace Slim;
10 
14 
25 {
36  protected function resolveCallable($callable)
37  {
38  if (!$this->container instanceof ContainerInterface) {
39  return $callable;
40  }
41 
43  $resolver = $this->container->get('callableResolver');
44 
45  return $resolver->resolve($callable);
46  }
47 }
Slim Framework (https://slimframework.com)
Definition: App.php:9