public static function __callStatic($method, $params) { $query = self::getDb(); return call_user_func_array([$query, $method], $params); }