NextDom\Helpers\Utils::getArrayToJQueryJson
Encode at JSON format for javascript
Signature
public function getArrayToJQueryJson(mixed
$varToTransform )
Parameters
$varToTransform
— mixed- Variable to transform
Returns
- string
- Encoded string for javascript