Assetic\Util\VarUtils::resolve
Resolves variable placeholders.
Signature
public function resolve(string
$template,
array
$vars,
array
$values )
Parameters
$template
— string- A template string
$vars
— array- Variable names
$values
— array- Variable values
Returns
- string
- The resolved string
Errors/Exceptions
-
InvalidArgumentException
- If there is a variable with no value