Re-add cache to manga controller so cache can be invalidated on update
This commit is contained in:
parent
98f709c36e
commit
b528b8dc17
@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user