b374k
m1n1 1.01
Apache/2.4.41 (Ubuntu)
Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
uid=33(www-data) gid=33(www-data) groups=33(www-data)
server ip : 62.171.164.128 | your ip : 127.0.0.1
safemode OFF
 >  / home / a / home / dev2.destoffenstraat.com / vendor / magento / framework / Session /
Filename/home/a/home/dev2.destoffenstraat.com/vendor/magento/framework/Session/SessionManagerInterface.php
Size2.7 kb
Permissionrw-r--r--
Ownerroot : root
Create time21-Aug-2025 12:26
Last modified07-Jan-2021 21:08
Last accessed22-Aug-2025 21:43
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php
/**
* Magento session manager interface
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Session;

/**
* Session Manager Interface
*
* @api
* @since 100.0.2
*/
interface SessionManagerInterface
{
/**
* Session key for list of hosts
*/
const HOST_KEY = '_session_hosts';

/**
* Start session
*
* @return SessionManagerInterface
*/
public function start();

/**
* Session write close
*
* @return void
*/
public function writeClose();

/**
* Does a session exist
*
* @return bool
*/
public function isSessionExists();

/**
* Retrieve session Id
*
* @return string
*/
public function getSessionId();

/**
* Retrieve session name
*
* @return string
*/
public function getName();

/**
* Set session name
*
* @param string $name
* @return SessionManagerInterface
*/
public function setName($name);

/**
* Destroy/end a session
*
* @param array $options
* @return void
*/
public function destroy(array $options = null);

/**
* Unset session data
*
* @return $this
*/
public function clearStorage();

/**
* Retrieve Cookie domain
*
* @return string
*/
public function getCookieDomain();

/**
* Retrieve cookie path
*
* @return string
*/
public function getCookiePath();

/**
* Retrieve cookie lifetime
*
* @return int
*/
public function getCookieLifetime();

/**
* Specify session identifier
*
* @param string|null $sessionId
* @return SessionManagerInterface
*/
public function setSessionId($sessionId);

/**
* Renew session id and update session cookie
*
* @return SessionManagerInterface
*/
public function regenerateId();

/**
* Expire the session cookie
*
* Sends a session cookie with no value, and with an expiry in the past.
*
* @return void
*/
public function expireSessionCookie();

/**
* If session cookie is not applicable due to host or path mismatch - add session id to query
*
* @param string $urlHost
* @return string
*/
public function getSessionIdForHost($urlHost);

/**
* Check if session is valid for given hostname
*
* @param string $host
* @return bool
*/
public function isValidForHost($host);

/**
* Check if session is valid for given path
*
* @param string $path
* @return bool
*/
public function isValidForPath($path);
}