/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/App/Router/PathConfigInterface.php
40 строк
943 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2015 Adobe * All Rights Reserved. */ declare(strict_types=1); namespace Magento\Framework\App\Router; /** * Interface \Magento\Framework\App\Router\PathConfigInterface * * @api */ interface PathConfigInterface { /** * Retrieve secure url for current request * * @param \Magento\Framework\App\RequestInterface $request * @return string */ public function getCurrentSecureUrl(\Magento\Framework\App\RequestInterface $request); /** * Check whether given path should be secure according to configuration security requirements for URL * "Secure" should not be confused with https protocol, it is about web/secure/*_url settings usage only * * @param string $path * @return bool */ public function shouldBeSecure($path); /** * Get router default request path * * @return string */ public function getDefaultPath(); }