Add missing update to base API Model

This commit is contained in:
Timothy Warren 2016-04-12 13:41:50 -04:00
parent e26e9f10b6
commit 330ac65e18

View File

@ -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();
}