mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-09-12 16:45:16 -04:00
objects derived from Base have their own $twig
This commit is contained in:
@@ -3,12 +3,10 @@
|
||||
namespace Gazelle\API;
|
||||
|
||||
abstract class AbstractAPI extends \Gazelle\Base {
|
||||
protected $twig;
|
||||
protected $config;
|
||||
|
||||
public function __construct(\Twig\Environment $twig, array $config) {
|
||||
public function __construct(array $config) {
|
||||
parent::__construct();
|
||||
$this->twig = $twig;
|
||||
$this->config = $config;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user