Symfony\Component\Templating\TemplateReference::get
Gets a template parameter.
Signature
public function get(string
$name )
Parameters
$name
— string- The parameter name
Returns
- string
- The parameter value
Errors/Exceptions
-
InvalidArgumentException
- if the parameter is not defined