コード例 #1
0
ファイル: Amount.php プロジェクト: whoople/magento2-testing
 /**
  * @return string
  */
 public function getDisplayCurrencySymbol()
 {
     return $this->priceCurrency->getCurrencySymbol();
 }
コード例 #2
0
ファイル: PriceBoxTags.php プロジェクト: rafaelstz/magento2
 /**
  * @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()]);
 }