We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff047a9 commit 6375250Copy full SHA for 6375250
app/code/Magento/PageCache/Model/Cache/Type.php
@@ -31,12 +31,18 @@ class Type extends \Magento\Framework\Cache\Frontend\Decorator\TagScope
31
public function __construct(
32
\Magento\Framework\App\Cache\Type\FrontendPool $cacheFrontendPool,
33
\Magento\Framework\Event\ManagerInterface $eventManager
34
-
35
) {
36
parent::__construct($cacheFrontendPool->get(self::TYPE_IDENTIFIER), self::CACHE_TAG);
37
$this->eventManager = $eventManager;
38
}
39
+ /**
40
+ * {@inheritdoc}
41
+ *
42
+ * @param string $mode
43
+ * @param array $tags
44
+ * @return bool
45
+ */
46
public function clean($mode = \Zend_Cache::CLEANING_MODE_ALL, array $tags = [])
47
{
48
$this->eventManager->dispatch('adminhtml_cache_refresh_type');
0 commit comments