public function processParameters(array $parameters, ContainerBuilder $container)
    {
        foreach ($parameters as $parameterKey => &$parameterValue) {
            if (\is_array($parameterValue)) {
                $parameterValue = $this->processParameters($parameterValue, $container);
                continue;
            }

            $resolvedValue = $this->environmentPlaceholderResolver
                ->resolveEnvironmentPlaceholders($parameterValue, $container);

            $replacementValue = $this->replacementFetcher->getReplacedValueForParameter($parameterKey, $resolvedValue);

            if (null !== $replacementValue) {
                $parameterValue = $replacementValue;
            }
        }

        return $parameters;
    }
public function processParameters(array $parameters, ContainerBuilder $container)
    {
        foreach ($parameters as $parameterKey => &$parameterValue) {
            if (\is_array($parameterValue)) {
                $parameterValue = $this->processParameters($parameterValue, $container);
                continue;
            }

            $resolvedValue = $this->environmentPlaceholderResolver
                ->resolveEnvironmentPlaceholders($parameterValue, $container);

            $replacementValue = $this->replacementFetcher->getReplacedValueForParameter($parameterKey, $resolvedValue);

            if (null !== $replacementValue) {
                $parameterValue = $replacementValue;
            }
        }

        return $parameters;
    }
public function processParameters ( array $ parameters , ContainerBuilder $ container ) { foreach ( $ parameters as $ parameterKey => & $ parameterValue ) { if ( \ is_array ( $ parameterValue ) ) { $ parameterValue = $ this -> processParameters ( $ parameterValue , $ container ) ; continue ; } $ resolvedValue = $ this -> environmentPlaceholderResolver -> resolveEnvironmentPlaceholders ( $ parameterValue , $ container ) ; $ replacementValue = $ this -> replacementFetcher -> getReplacedValueForParameter ( $ parameterKey , $ resolvedValue ) ; if ( null !== $ replacementValue ) { $ parameterValue = $ replacementValue ; } } return $ parameters ; }
Process parameter array.

@param array            $parameters
@param ContainerBuilder $container

@return array
Process parameter array .