protected function getInvoker(): InvokerInterface
    {
        if (! $this->invoker) {
            $parameterResolver = [
                new NumericArrayResolver(),
                new AssociativeArrayResolver(),
                new DefaultValueResolver(),
                new TypeHintContainerResolver($this),
                new ParameterNameContainerResolver($this),
            ];

            $this->invoker = new Invoker(new ResolverChain($parameterResolver), $this);
        }

        return $this->invoker;
    }
protected function getInvoker(): InvokerInterface
    {
        if (! $this->invoker) {
            $parameterResolver = [
                new NumericArrayResolver(),
                new AssociativeArrayResolver(),
                new DefaultValueResolver(),
                new TypeHintContainerResolver($this),
                new ParameterNameContainerResolver($this),
            ];

            $this->invoker = new Invoker(new ResolverChain($parameterResolver), $this);
        }

        return $this->invoker;
    }
protected function getInvoker ( ) : InvokerInterface { if ( ! $ this -> invoker ) { $ parameterResolver = [ new NumericArrayResolver ( ) , new AssociativeArrayResolver ( ) , new DefaultValueResolver ( ) , new TypeHintContainerResolver ( $ this ) , new ParameterNameContainerResolver ( $ this ) , ] ; $ this -> invoker = new Invoker ( new ResolverChain ( $ parameterResolver ) , $ this ) ; } return $ this -> invoker ; }
Get a configured instance of invoker.

@return \Invoker\InvokerInterface

@codeCoverageIgnore
Get a configured instance of invoker .