Definition at line 11 of file InvalidateCache.php.
◆ __construct()
- Parameters
-
\Magento\PageCache\Model\Config | $config | |
\Magento\Framework\App\Cache\TypeListInterface | $typeList | |
Definition at line 29 of file InvalidateCache.php.
34 $this->_typeList = $typeList;
◆ execute()
Invalidate full page cache
- Parameters
-
\Magento\Framework\Event\Observer | $observer | |
- Returns
- void @SuppressWarnings(PHPMD.UnusedFormalParameter)
Definition at line 44 of file InvalidateCache.php.
46 if ($this->_config->isEnabled()) {
47 $this->_typeList->invalidate(
'full_page');
◆ $_config
◆ $_typeList
The documentation for this class was generated from the following file: