protected function buildInjectionParameters(ContainerDefinition $container, MethodInjection $subject) : string
    {
        $params = [];

        foreach ($subject->getInjections() as $injection) {

            $settings = $injection->getSetting();

            // do we want to inject a config value ?
            if ($settings instanceof ConfigByKey) {

                $params[] = self::TAB_3 . $this->generatePartialConfigCreator($injection, $settings);
            } // inject a service
            else {
                $params[] = self::TAB_3 . $this->generateCreator($container, $injection, $settings);
            }
        }

        return count($params) === 0 ? '' : implode(",\n", $params);
    }
protected function buildInjectionParameters(ContainerDefinition $container, MethodInjection $subject) : string
    {
        $params = [];

        foreach ($subject->getInjections() as $injection) {

            $settings = $injection->getSetting();

            // do we want to inject a config value ?
            if ($settings instanceof ConfigByKey) {

                $params[] = self::TAB_3 . $this->generatePartialConfigCreator($injection, $settings);
            } // inject a service
            else {
                $params[] = self::TAB_3 . $this->generateCreator($container, $injection, $settings);
            }
        }

        return count($params) === 0 ? '' : implode(",\n", $params);
    }
@param ContainerDefinition $container
@param MethodInjection     $subject

@return string