| Zeile 51... |
Zeile 51... |
| 51 |
* Invalidates the current session.
|
51 |
* Invalidates the current session.
|
| 52 |
*
|
52 |
*
|
| 53 |
* Clears all session attributes and flashes and regenerates the
|
53 |
* Clears all session attributes and flashes and regenerates the
|
| 54 |
* session and deletes the old session from persistence.
|
54 |
* session and deletes the old session from persistence.
|
| 55 |
*
|
55 |
*
|
| 56 |
* @param int $lifetime Sets the cookie lifetime for the session cookie. A null value
|
56 |
* @param int|null $lifetime Sets the cookie lifetime for the session cookie. A null value
|
| 57 |
* will leave the system settings unchanged, 0 sets the cookie
|
57 |
* will leave the system settings unchanged, 0 sets the cookie
|
| 58 |
* to expire with browser session. Time is in seconds, and is
|
58 |
* to expire with browser session. Time is in seconds, and is
|
| 59 |
* not a Unix timestamp.
|
59 |
* not a Unix timestamp.
|
| 60 |
*/
|
60 |
*/
|
| 61 |
public function invalidate(int $lifetime = null): bool;
|
61 |
public function invalidate(int $lifetime = null): bool;
|
| Zeile 62... |
Zeile 62... |
| 62 |
|
62 |
|
| 63 |
/**
|
63 |
/**
|
| 64 |
* Migrates the current session to a new session id while maintaining all
|
64 |
* Migrates the current session to a new session id while maintaining all
|
| 65 |
* session attributes.
|
65 |
* session attributes.
|
| 66 |
*
|
66 |
*
|
| 67 |
* @param bool $destroy Whether to delete the old session or leave it to garbage collection
|
67 |
* @param bool $destroy Whether to delete the old session or leave it to garbage collection
|
| 68 |
* @param int $lifetime Sets the cookie lifetime for the session cookie. A null value
|
68 |
* @param int|null $lifetime Sets the cookie lifetime for the session cookie. A null value
|
| 69 |
* will leave the system settings unchanged, 0 sets the cookie
|
69 |
* will leave the system settings unchanged, 0 sets the cookie
|
| 70 |
* to expire with browser session. Time is in seconds, and is
|
70 |
* to expire with browser session. Time is in seconds, and is
|
| 71 |
* not a Unix timestamp.
|
71 |
* not a Unix timestamp.
|
| 72 |
*/
|
72 |
*/
|
| Zeile 73... |
Zeile 73... |
| 73 |
public function migrate(bool $destroy = false, int $lifetime = null): bool;
|
73 |
public function migrate(bool $destroy = false, int $lifetime = null): bool;
|
| 74 |
|
74 |
|