@@ -22,14 +22,14 @@ interface SessionInterface
22
22
* Regenerates the session ID.
23
23
*
24
24
* @param bool $destroy Should old session data be destroyed?
25
- *
25
+ *
26
26
* @return void
27
27
*/
28
28
public function regenerate (bool $ destroy = false );
29
29
30
30
/**
31
31
* Destroys the current session.
32
- *
32
+ *
33
33
* @return void
34
34
*/
35
35
public function destroy ();
@@ -45,7 +45,7 @@ public function destroy();
45
45
*
46
46
* @param array|string $data Property name or associative array of properties
47
47
* @param array|bool|float|int|object|string|null $value Property value if single key provided
48
- *
48
+ *
49
49
* @return void
50
50
*/
51
51
public function set ($ data , $ value = null );
@@ -80,7 +80,7 @@ public function has(string $key): bool;
80
80
* of a specific session property to remove.
81
81
*
82
82
* @param array|string $key Identifier of the session property or properties to remove.
83
- *
83
+ *
84
84
* @return void
85
85
*/
86
86
public function remove ($ key );
@@ -96,7 +96,7 @@ public function remove($key);
96
96
*
97
97
* @param array|string $data Property identifier or associative array of properties
98
98
* @param array|string $value Property value if $data is a scalar
99
- *
99
+ *
100
100
* @return void
101
101
*/
102
102
public function setFlashdata ($ data , $ value = null );
@@ -117,7 +117,7 @@ public function getFlashdata(?string $key = null);
117
117
* Keeps a single piece of flash data alive for one more request.
118
118
*
119
119
* @param array|string $key Property identifier or array of them
120
- *
120
+ *
121
121
* @return void
122
122
*/
123
123
public function keepFlashdata ($ key );
@@ -135,7 +135,7 @@ public function markAsFlashdata($key);
135
135
* Unmark data in the session as flashdata.
136
136
*
137
137
* @param array|string $key Property identifier or array of them
138
- *
138
+ *
139
139
* @return void
140
140
*/
141
141
public function unmarkFlashdata ($ key );
@@ -154,7 +154,7 @@ public function getFlashKeys(): array;
154
154
* @param array|string $data Session data key or associative array of items
155
155
* @param array|bool|float|int|object|string|null $value Value to store
156
156
* @param int $ttl Time-to-live in seconds
157
- *
157
+ *
158
158
* @return void
159
159
*/
160
160
public function setTempdata ($ data , $ value = null , int $ ttl = 300 );
@@ -173,7 +173,7 @@ public function getTempdata(?string $key = null);
173
173
* Removes a single piece of temporary data from the session.
174
174
*
175
175
* @param string $key Session data key
176
- *
176
+ *
177
177
* @return void
178
178
*/
179
179
public function removeTempdata (string $ key );
@@ -194,7 +194,7 @@ public function markAsTempdata($key, int $ttl = 300);
194
194
* lifespan and allowing it to live as long as the session does.
195
195
*
196
196
* @param array|string $key Property identifier or array of them
197
- *
197
+ *
198
198
* @return void
199
199
*/
200
200
public function unmarkTempdata ($ key );
0 commit comments