Helpers
class Helpers
internal |
Template runtime helpers.
Methods
static string|null
stringOrNull(mixed $value)
Ensures the value is a string or returns null.
static string
escapeCss($s)
Escapes string for use inside CSS template.
static string
escapeJs(mixed $s)
Escapes variables for use inside