/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/App/Backpressure/ContextInterface.php
53 строки
937 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2021 Adobe * All Rights Reserved. */ declare(strict_types=1); namespace Magento\Framework\App\Backpressure; use Magento\Framework\App\RequestInterface; /** * Request context */ interface ContextInterface { public const IDENTITY_TYPE_IP = 0; public const IDENTITY_TYPE_CUSTOMER = 1; public const IDENTITY_TYPE_ADMIN = 2; /** * Current request * * @return RequestInterface */ public function getRequest(): RequestInterface; /** * Unique ID for request issuer * * @return string */ public function getIdentity(): string; /** * Type of identity detected * * @return int */ public function getIdentityType(): int; /** * Request type ID * * String ID of the functionality that requires backpressure enforcement * * @return string */ public function getTypeId(): string; }