/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Translate/InlineInterface.php
46 строк
924 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\Translate; /** * Inline translation interface * * @api * @since 100.0.2 */ interface InlineInterface { /** * Returns additional html attribute if needed by client. * * @param mixed $tagName * @return mixed */ public function getAdditionalHtmlAttribute($tagName = null); /** * Check if inline translates is allowed * * @return bool */ public function isAllowed(); /** * Replace translation templates with HTML fragments * * @param array|string $body * @param bool $isJson * @return \Magento\Framework\Translate\InlineInterface */ public function processResponseBody(&$body, $isJson = false); /** * Retrieve Inline Parser instance * * @return Inline\ParserInterface */ public function getParser(); }