|
MediaWiki master
|
Value object holding the session ID in a manner that can be globally updated. More...
Inherits Stringable.

Public Member Functions | |
| __construct ( $id) | |
| __toString () | |
| getId () | |
| setId ( $id) | |
Value object holding the session ID in a manner that can be globally updated.
This class exists because we want WebRequest to refer to the session, but it can't hold the Session itself due to issues with circular references and it can't just hold the ID as a string because we need to be able to update the ID when SessionBackend::resetId() is called.
Definition at line 23 of file SessionId.php.
| MediaWiki\Session\SessionId::__construct | ( | $id | ) |
| MediaWiki\Session\SessionId::__toString | ( | ) |
Definition at line 51 of file SessionId.php.
| MediaWiki\Session\SessionId::getId | ( | ) |
Definition at line 39 of file SessionId.php.
Referenced by MediaWiki\Session\SessionBackend\__construct().
| MediaWiki\Session\SessionId::setId | ( | $id | ) |
| string | $id |
Definition at line 47 of file SessionId.php.