_taxConfig = $taxConfig; parent::__construct($context, $customerSession, $checkoutSession, $salesConfig, $layoutProcessors, $data); $this->_isScopePrivate = true; } /** * @return bool */ public function displayBoth() { return $this->_taxConfig->displayCartSubtotalBoth(); } }