NextDom\Helpers\Utils::getVarInJs
Convert variable in javascript format
Signature
private function getVarInJs(string
$varName,
string|array
$varValue )
Parameters
$varName
— string- Nom de la variable
$varValue
— object- Valeur
Returns
- string
- Déclaration javascript