Version 5.1 - All the GraphQL #32
@ -52,6 +52,12 @@ class API extends BaseModel {
|
||||
*/
|
||||
protected $cookieJar;
|
||||
|
||||
/**
|
||||
* Cache manager
|
||||
* @var \Aviat\Ion\Cache\CacheInterface
|
||||
*/
|
||||
protected $cache;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
@ -60,6 +66,7 @@ class API extends BaseModel {
|
||||
public function __construct(ContainerInterface $container)
|
||||
{
|
||||
parent::__construct($container);
|
||||
$this->cache = $container->get('cache');
|
||||
$this->init();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user