/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Session/SidResolverInterface.php
74 строки
2 KB
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * SID resolver interface * * Copyright 2014 Adobe * All Rights Reserved. */ namespace Magento\Framework\Session; /** * Interface \Magento\Framework\Session\SidResolverInterface * * @deprecated 2.3.3 SIDs in URLs are no longer used */ interface SidResolverInterface { /** * Session ID in query param */ const SESSION_ID_QUERY_PARAM = 'SID'; /** * Get SID * * @param \Magento\Framework\Session\SessionManagerInterface $session * @return string|null * @deprecated SID query parameter is not used in URLs anymore. */ public function getSid(\Magento\Framework\Session\SessionManagerInterface $session); /** * Get session id query param * * @param \Magento\Framework\Session\SessionManagerInterface $session * @return string * @deprecated SID query parameter is not used in URLs anymore. */ public function getSessionIdQueryParam(\Magento\Framework\Session\SessionManagerInterface $session); /** * Set use session var instead of SID for URL * * @param bool $var * @return $this * @deprecated SID query parameter is not used in URLs anymore. */ public function setUseSessionVar($var); /** * Retrieve use flag session var instead of SID for URL * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) */ public function getUseSessionVar(); /** * Set Use session in URL flag * * @param bool $flag * @return $this * @deprecated SID query parameter is not used in URLs anymore. */ public function setUseSessionInUrl($flag = true); /** * Retrieve use session in URL flag * * @return bool * @deprecated SID query parameter is not used in URLs anymore. * @SuppressWarnings(PHPMD.BooleanGetMethodName) */ public function getUseSessionInUrl(); }