private function compileParameters($section = null)
    {
        if (null === $section) {
            return $this->compileAllParameters();
        }

        if (!array_key_exists($section, $this->raw_parameters)) {
            return;
        }

        if (!array_key_exists($section, $this->parameters)) {
            $value = $this->raw_parameters[$section];
            if (is_array($value)) {
                array_walk_recursive($value, array($this->container, 'getContainerValues'));
            } else {
                $this->container->getContainerValues($value);
            }
            $this->parameters[$section] = $value;
        }

        return $this->parameters[$section];
    }
private function compileParameters($section = null)
    {
        if (null === $section) {
            return $this->compileAllParameters();
        }

        if (!array_key_exists($section, $this->raw_parameters)) {
            return;
        }

        if (!array_key_exists($section, $this->parameters)) {
            $value = $this->raw_parameters[$section];
            if (is_array($value)) {
                array_walk_recursive($value, array($this->container, 'getContainerValues'));
            } else {
                $this->container->getContainerValues($value);
            }
            $this->parameters[$section] = $value;
        }

        return $this->parameters[$section];
    }
private function compileParameters ( $ section = null ) { if ( null === $ section ) { return $ this -> compileAllParameters ( ) ; } if ( ! array_key_exists ( $ section , $ this -> raw_parameters ) ) { return ; } if ( ! array_key_exists ( $ section , $ this -> parameters ) ) { $ value = $ this -> raw_parameters [ $ section ] ; if ( is_array ( $ value ) ) { array_walk_recursive ( $ value , array ( $ this -> container , 'getContainerValues' ) ) ; } else { $ this -> container -> getContainerValues ( $ value ) ; } $ this -> parameters [ $ section ] = $ value ; } return $ this -> parameters [ $ section ] ; }
Replace services and container parameters keys by their values for the provided section.

@param string|null $section The selected configuration section, can be null

@return array
Replace services and container parameters keys by their values for the provided section .