Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
isValidForPath ($path) | |
![]() | |
__construct (\Magento\Framework\App\Request\Http $request, SidResolverInterface $sidResolver, ConfigInterface $sessionConfig, SaveHandlerInterface $saveHandler, ValidatorInterface $validator, StorageInterface $storage, \Magento\Framework\Stdlib\CookieManagerInterface $cookieManager, \Magento\Framework\Stdlib\Cookie\CookieMetadataFactory $cookieMetadataFactory, \Magento\Framework\App\State $appState) | |
writeClose () | |
__call ($method, $args) | |
start () | |
isSessionExists () | |
getData ($key='', $clear=false) | |
getSessionId () | |
getName () | |
setName ($name) | |
destroy (array $options=null) | |
clearStorage () | |
getCookieDomain () | |
getCookiePath () | |
getCookieLifetime () | |
setSessionId ($sessionId) | |
getSessionIdForHost ($urlHost) | |
isValidForHost ($host) | |
isValidForPath ($path) | |
regenerateId () | |
expireSessionCookie () | |
Additional Inherited Members | |
![]() | |
const | HOST_KEY = '_session_hosts' |
![]() | |
registerSaveHandler () | |
_addHost () | |
_getHosts () | |
_cleanHosts () | |
clearSubDomainSessionCookie () | |
![]() | |
$defaultDestroyOptions = ['send_expire_cookie' => true, 'clear_storage' => true] | |
$validator | |
$request | |
$sidResolver | |
$sessionConfig | |
$saveHandler | |
$storage | |
$cookieManager | |
$cookieMetadataFactory | |
![]() | |
static | $urlHostCache = [] |
isValidForPath | ( | $path | ) |
Skip path validation in backend area
string | $path |
Implements SessionManagerInterface.
Definition at line 23 of file Session.php.