<?php
/*
 * Software Name: Eorisis Setup
 * Software URI: https://eorisis.com/shop/software/joomla/setup
 * Author: Eorisis
 * Author URI: https://eorisis.com
 * Copyright: Copyright (C) 2011-2025 EORISIS. All Rights Reserved.
 * License: GNU General Public License version 2; See https://eorisis.com/gpl
 * Terms of Service: https://eorisis.com/tos
 */
namespace eorisis_setup\framework\lib\core\model;
\defined('_JEXEC') or die;

class convert
{
	public function __construct() {}

	// --------------------------------------------------

	public static function htmlspecialchars($string, $flags = ENT_QUOTES | ENT_HTML5, bool $double_encode = true) : string
	{
		return \htmlspecialchars((string)$string, $flags, 'UTF-8', $double_encode);
	}
}
