We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bb0043 commit ada264eCopy full SHA for ada264e
src/Http/Session.php
@@ -136,6 +136,14 @@ public static function delete($key)
136
static::unset($key);
137
}
138
139
+ /**
140
+ * Remove a session variable
141
+ */
142
+ public static function remove($key)
143
+ {
144
+ static::unset($key);
145
+ }
146
+
147
/**
148
* Remove all session variables
149
*/
@@ -163,7 +171,6 @@ public static function destroy()
163
171
public static function reset($id = null)
164
172
{
165
173
static::start();
166
-
167
174
session_reset();
168
175
static::id($id);
169
176
@@ -184,6 +191,7 @@ public static function id($id = null)
184
191
185
192
186
193
session_id($id);
194
187
195
static::set('id', $id);
188
196
189
197
return $id;
0 commit comments