Skip to content

Commit

Permalink
Update #6
Browse files Browse the repository at this point in the history
  • Loading branch information
magiccart committed Nov 27, 2023
1 parent 525e012 commit 7cf4eed
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Model/Cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@

class Cron
{
protected $_cacheTypeList;
private $cacheTypeList;

private $cacheFrontendPool;

public function __construct(
\Magento\Framework\Model\Context $context,
\Magento\Framework\App\Cache\TypeListInterface $cacheTypeList,
\Magento\Framework\App\Cache\Frontend\Pool $cacheFrontendPool
) {
$this->_cacheTypeList = $cacheTypeList;
$this->_cacheFrontendPool = $cacheFrontendPool;
$this->cacheTypeList = $cacheTypeList;
$this->cacheFrontendPool = $cacheFrontendPool;
}

public function flushCache()
Expand Down

0 comments on commit 7cf4eed

Please sign in to comment.