private function invoker(ContainerInterface $container)
    {
        $resolvers = new ResolverChain([
            new ParameterNameContainerResolver($container),
            new DefaultValueResolver(),
        ]);

        $invoker = new Invoker($resolvers, $container);

        return $invoker;
    }