Bot API overhaul (#91)

This commit is contained in:
Bifrost
2019-03-28 10:45:55 +00:00
committed by Gitea
parent d288947e2f
commit e610a652b8
18 changed files with 610 additions and 241 deletions
+17
View File
@@ -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();
}