18 protected $_template =
'Magento_Tax::checkout/subtotal.phtml';
36 \
Magento\Customer\Model\Session $customerSession,
37 \
Magento\Checkout\Model\Session $checkoutSession,
38 \
Magento\Sales\Model\Config $salesConfig,
43 $this->_taxConfig = $taxConfig;
45 $this->_isScopePrivate =
true;
53 return $this->_taxConfig->displayCartSubtotalBoth($this->
getStore());
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Checkout\Model\Session $checkoutSession, \Magento\Sales\Model\Config $salesConfig, \Magento\Tax\Model\Config $taxConfig, array $layoutProcessors=[], array $data=[])