/** * @param \Magento\Framework\Cache\FrontendInterface $frontend * @param array $params */ public function __construct(\Magento\Framework\Cache\FrontendInterface $frontend, array $params) { parent::__construct($frontend); $this->_params = $params; }
/** * @param \Magento\Framework\Cache\FrontendInterface $frontend * @param \Magento\Framework\App\Cache\StateInterface $cacheState * @param string $identifier Cache type identifier */ public function __construct(\Magento\Framework\Cache\FrontendInterface $frontend, \Magento\Framework\App\Cache\StateInterface $cacheState, $identifier) { parent::__construct($frontend); $this->_cacheState = $cacheState; $this->_identifier = $identifier; }
/** * @param FrontendInterface $frontend * @param LoggerHandler $logger */ public function __construct(FrontendInterface $frontend, LoggerHandler $logger) { parent::__construct($frontend); $this->logger = $logger; }
/** * @param \Magento\Framework\Cache\FrontendInterface $frontend * @param string[] $backendPrefixes Backend class prefixes to be striped for profiling informativeness */ public function __construct(\Magento\Framework\Cache\FrontendInterface $frontend, $backendPrefixes = array()) { parent::__construct($frontend); $this->_backendPrefixes = $backendPrefixes; }
/** * @param \Magento\Framework\Cache\FrontendInterface $frontend * @param string $tag Cache tag name */ public function __construct(\Magento\Framework\Cache\FrontendInterface $frontend, $tag) { parent::__construct($frontend); $this->_tag = $tag; }