HEX
Server: LiteSpeed
System: Linux server902.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: deshuvsd (2181)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/thread-self/root/home/deshuvsd/www/wp-content/plugins/fluent-smtp/app/Models/Model.php
<?php

namespace FluentMail\App\Models;

class Model
{
    protected $db  = null;
    protected $app = null;

    protected $table = null;

    public function __construct()
    {
        $this->app = fluentMail();
        $this->db  = $GLOBALS['wpdb'];
    }

    public function getTable()
    {
        return $this->table;
    }

    public function __call($method, $params)
    {
        return call_user_func_array([$this->db, $method], $params);
    }

    public function getDb()
    {
        return fluentMailDb();
    }
}