LightnCandy\Encoder::enc PHP Метод

enc() публичный статический Метод

Get html encoded string
public static enc ( array\arraystring | integer> $cx, arraystring | integer> | integer | null $var ) : string
$cx array\arraystring | integer>
$var arraystring | integer> | integer | null
Результат string The htmlencoded value of the specified variable
    public static function enc($cx, $var)
    {
        return htmlentities(static::raw($cx, $var), ENT_QUOTES, 'UTF-8');
    }