/**
  * @param \Magento\Framework\View\TemplateEngineInterface $subject
  * @param bool $showBlockHints Whether to include block into the debugging information or not
  */
 public function __construct(\Magento\Framework\View\TemplateEngineInterface $subject, $showBlockHints, \Magento\Framework\View\Element\Context $context)
 {
     $this->_subject = $subject;
     $this->_showBlockHints = $showBlockHints;
     $this->_cache = $context->getCache();
     $this->_cacheState = $context->getCacheState();
 }
 /**
  * Constructor
  *
  * @param \Magento\Framework\View\Element\Context $context
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Context $context, array $data = [])
 {
     $this->_request = $context->getRequest();
     $this->_layout = $context->getLayout();
     $this->_eventManager = $context->getEventManager();
     $this->_urlBuilder = $context->getUrlBuilder();
     $this->_cache = $context->getCache();
     $this->_design = $context->getDesignPackage();
     $this->_session = $context->getSession();
     $this->_sidResolver = $context->getSidResolver();
     $this->_scopeConfig = $context->getScopeConfig();
     $this->_assetRepo = $context->getAssetRepository();
     $this->_viewConfig = $context->getViewConfig();
     $this->_cacheState = $context->getCacheState();
     $this->_logger = $context->getLogger();
     $this->_escaper = $context->getEscaper();
     $this->filterManager = $context->getFilterManager();
     $this->_localeDate = $context->getLocaleDate();
     $this->inlineTranslation = $context->getInlineTranslation();
     if (isset($data['jsLayout'])) {
         $this->jsLayout = $data['jsLayout'];
         unset($data['jsLayout']);
     }
     parent::__construct($data);
     $this->_construct();
 }