private function getInjectionFuncParams(Argument $argument) : array
    {
        $dependencyIndex = (string) $argument;
        if ($this->container->getContainer()[$dependencyIndex] instanceof DependencyProvider) {
            return $this->getInjectionProviderParams($argument);
        }

        return [new Node\Arg(new Scalar\String_((string) $argument))];
    }
private function getInjectionFuncParams(Argument $argument) : array
    {
        $dependencyIndex = (string) $argument;
        if ($this->container->getContainer()[$dependencyIndex] instanceof DependencyProvider) {
            return $this->getInjectionProviderParams($argument);
        }

        return [new Node\Arg(new Scalar\String_((string) $argument))];
    }
private function getInjectionFuncParams ( Argument $ argument ) : array { $ dependencyIndex = ( string ) $ argument ; if ( $ this -> container -> getContainer ( ) [ $ dependencyIndex ] instanceof DependencyProvider ) { return $ this -> getInjectionProviderParams ( $ argument ) ; } return [ new Node \ Arg ( new Scalar \ String_ ( ( string ) $ argument ) ) ] ; }
Return dependency index argument

[class, method, param] is added if dependency is provider for DI context

@param Argument $argument

@return Node\Arg[]
Return dependency index argument