Zend\View\Helper\DeclareVars::declareVar
Set a view variable
Checks to see if a $key is set in the view object; if not, sets it to $value.
Signature
protected function declareVar(string
$key,
[string
$value = ''] )
Parameters
$key
— string$value
— string- Defaults to an empty string
Returns
- void