src/ParameterBag.php
public function resolve()
    {
        if ($this->resolved) {
            return;
        }

        $parameters = array();

        foreach ($this->parameters as $key => $value) {
            $value = $this->resolveValue($value);
            $parameters[$key] = $this->unescapeValue($value);
        }

        $this->parameters = $parameters;
        $this->resolved = true;
    }
public function resolve()
    {
        if ($this->resolved) {
            return;
        }

        $parameters = array();

        foreach ($this->parameters as $key => $value) {
            $value = $this->resolveValue($value);
            $parameters[$key] = $this->unescapeValue($value);
        }

        $this->parameters = $parameters;
        $this->resolved = true;
    }
Replaces parameter placeholders (%name%) by their values for all parameters.

@return void