mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-08-01 09:16:09 -04:00
20 lines
413 B
PHP
20 lines
413 B
PHP
<?php
|
|
|
|
namespace Gazelle\API;
|
|
|
|
abstract class AbstractAPI {
|
|
protected $db;
|
|
protected $cache;
|
|
protected $twig;
|
|
protected $config;
|
|
|
|
public function __construct(\DB_MYSQL $db, \CACHE $cache, \Twig\Environment $twig, array $config) {
|
|
$this->db = $db;
|
|
$this->cache = $cache;
|
|
$this->twig = $twig;
|
|
$this->config = $config;
|
|
}
|
|
|
|
abstract public function run();
|
|
}
|