/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Pricing/Render/PriceBoxRenderInterface.php
43 строки
893 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2014 Adobe * All Rights Reserved. */ namespace Magento\Framework\Pricing\Render; use Magento\Framework\Pricing\Amount\AmountInterface; use Magento\Framework\Pricing\SaleableInterface; use Magento\Framework\Pricing\Price\PriceInterface; /** * Price box render interface * * @api * @since 100.0.2 */ interface PriceBoxRenderInterface { /** * @return SaleableInterface */ public function getSaleableItem(); /** * Retrieve price object * (to use in templates only) * * @return PriceInterface */ public function getPrice(); /** * Retrieve amount html for given price and arguments * (to use in templates only) * * @param AmountInterface $price * @param array $arguments * @return string */ public function renderAmount(AmountInterface $price, array $arguments = []); }