code: private function invoker(ContainerInterface $container)
      {
          $resolvers = new ResolverChain([
              new ParameterNameContainerResolver($container),
              new DefaultValueResolver(),
          ]);
  
          $invoker = new Invoker($resolvers, $container);
  
          return $invoker;
      }
docs: Create Invoker instance for constructor autowiring.
  
  @param \Psr\Container\ContainerInterface $container
  @return \Invoker\Invoker