Add missing update to base API Model
This commit is contained in:
parent
e26e9f10b6
commit
330ac65e18
@ -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