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 de2f4fca1e
commit 79f71eee09

View File

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