/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/App/Area/FrontNameResolverInterface.php
31 строка
1007 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Application area front name resolver * * Copyright 2014 Adobe * All Rights Reserved. */ namespace Magento\Framework\App\Area; /** * Every application request is executed in area context (@see \Magento\Framework\App\Area). * Area for request is defined by the first request path segment (admin for adminhtml area, * api for api area, none for frontend area). The request path segment that defines the area is called Area Front Name. * * For some areas Area Front Names are dynamic (can be configured by the user), so can not be referenced in code base. * This interface represents Front Name Resolvers that are called to retrieve front names * for areas with dynamic front names. * * @api * @since 100.0.2 */ interface FrontNameResolverInterface { /** * Retrieve front name * * @param bool $checkHost if true, return front name only if it is valid for the current host * @return string|bool */ public function getFrontName($checkHost = false); }