예제 #1
0
 /**
  * @return string
  */
 public function getDisplayCurrencySymbol()
 {
     return $this->priceCurrency->getCurrencySymbol();
 }
예제 #2
0
 /**
  * @param PriceBox $subject
  * @param string $result
  * @return string
  *
  * @SuppressWarnings(PHPMD.UnusedFormalParameter)
  */
 public function afterGetCacheKey(PriceBox $subject, $result)
 {
     return implode('-', [$result, $this->priceCurrency->getCurrencySymbol(), $this->dateTime->scopeDate($this->scopeResolver->getScope()->getId())->format('Ymd'), $this->scopeResolver->getScope()->getId(), $this->customerSession->getCustomerGroupId()]);
 }