dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fixed typo 'implments' and 'implmented'"
[lhc/web/wiklou.git]
/
includes
/
session
/
SessionBackend.php
diff --git
a/includes/session/SessionBackend.php
b/includes/session/SessionBackend.php
index
58163c6
..
7956e9f
100644
(file)
--- a/
includes/session/SessionBackend.php
+++ b/
includes/session/SessionBackend.php
@@
-50,15
+50,25
@@
final class SessionBackend {
/** @var SessionId */
private $id;
/** @var SessionId */
private $id;
+ /** @var bool */
private $persist = false;
private $persist = false;
+
+ /** @var bool */
private $remember = false;
private $remember = false;
+
+ /** @var bool */
private $forceHTTPS = false;
/** @var array|null */
private $data = null;
private $forceHTTPS = false;
/** @var array|null */
private $data = null;
+ /** @var bool */
private $forcePersist = false;
private $forcePersist = false;
+
+ /** @var bool */
private $metaDirty = false;
private $metaDirty = false;
+
+ /** @var bool */
private $dataDirty = false;
/** @var string Used to detect subarray modifications */
private $dataDirty = false;
/** @var string Used to detect subarray modifications */
@@
-76,6
+86,7
@@
final class SessionBackend {
/** @var User */
private $user;
/** @var User */
private $user;
+ /** @var int */
private $curIndex = 0;
/** @var WebRequest[] Session requests */
private $curIndex = 0;
/** @var WebRequest[] Session requests */
@@
-87,13
+98,21
@@
final class SessionBackend {
/** @var array|null provider-specified metadata */
private $providerMetadata = null;
/** @var array|null provider-specified metadata */
private $providerMetadata = null;
+ /** @var int */
private $expires = 0;
private $expires = 0;
+
+ /** @var int */
private $loggedOut = 0;
private $loggedOut = 0;
+
+ /** @var int */
private $delaySave = 0;
private $delaySave = 0;
+ /** @var bool */
private $usePhpSessionHandling = true;
private $usePhpSessionHandling = true;
+ /** @var bool */
private $checkPHPSessionRecursionGuard = false;
private $checkPHPSessionRecursionGuard = false;
+ /** @var bool */
private $shutdown = false;
/**
private $shutdown = false;
/**
@@
-612,7
+631,7
@@
final class SessionBackend {
* Save the session
*
* Update both the backend data and the associated WebRequest(s) to
* Save the session
*
* Update both the backend data and the associated WebRequest(s) to
- * reflect the state of the
the
SessionBackend. This might include
+ * reflect the state of the SessionBackend. This might include
* persisting or unpersisting the session.
*
* @param bool $closing Whether the session is being closed
* persisting or unpersisting the session.
*
* @param bool $closing Whether the session is being closed