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