ParameterBag::resolveString()

string resolveString(string $value, array $resolving = array())

Resolves parameters inside a string.

Parameters

string $value The string to resolve
array $resolving An array of keys that are being resolved (used internally to detect circular references)

Return Value

string The resolved string

Exceptions

ParameterNotFoundException if a placeholder references a parameter that does not exist
ParameterCircularReferenceException if a circular reference if detected
RuntimeException when a given parameter has a type problem.
doc_Symfony
2016-10-28 06:25:48
Comments
Leave a Comment

Please login to continue.