public function register(ContainerInterface $container)
 {
     $container->setAllowOverride(true);
     $container->setFactory('callableResolver', function ($c) {
         return new CallableResolver($c);
     });
     $container->setAllowOverride(false);
 }