mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-09-12 16:45:16 -04:00
Bot API overhaul (#91)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Gazelle\API;
|
||||
|
||||
abstract class AbstractAPI {
|
||||
protected $db;
|
||||
protected $cache;
|
||||
protected $config;
|
||||
|
||||
public function __construct(\DB_MYSQL $db, \CACHE $cache, array $config) {
|
||||
$this->db = $db;
|
||||
$this->cache = $cache;
|
||||
$this->config = $config;
|
||||
}
|
||||
|
||||
abstract public function run();
|
||||
}
|
||||
Reference in New Issue
Block a user