public static function getSmartyInstance(string $appFullName = null):\Smarty
    {
        if (self::$instance == null) {
            if (self::$appCall != $appFullName) {
                self::$appCall = $appFullName;
                ;
                new SmartyEngineTemplate();
            }
        }
        return (self::$instance);
    }