Re-add cache to manga controller so cache can be invalidated on update

This commit is contained in:
Timothy Warren 2016-04-14 11:05:16 -04:00
parent 98f709c36e
commit b528b8dc17

View File

@ -38,6 +38,12 @@ class Manga extends Controller {
*/
protected $base_data;
/**
* Cache manager
* @var \Aviat\Ion\Cache\CacheInterface
*/
protected $cache;
/**
* Constructor
*
@ -54,6 +60,7 @@ class Manga extends Controller {
'url_type' => 'manga',
'other_type' => 'anime'
]);
$this->cache = $container->get('cache');
}
/**