@@ -268,7 +268,7 @@ public function start()
268
268
* Destroys the current session.
269
269
*
270
270
* @deprecated Use destroy() instead.
271
- *
271
+ *
272
272
* @return void
273
273
*/
274
274
public function stop ()
@@ -280,7 +280,7 @@ public function stop()
280
280
* Configuration.
281
281
*
282
282
* Handle input binds and configuration defaults.
283
- *
283
+ *
284
284
* @return void
285
285
*/
286
286
protected function configure ()
@@ -323,7 +323,7 @@ protected function configure()
323
323
*
324
324
* To make life easier, we force the PHP defaults. Because PHP9 forces them.
325
325
* See https://wiki.php.net/rfc/deprecations_php_8_4#sessionsid_length_and_sessionsid_bits_per_character
326
- *
326
+ *
327
327
* @return void
328
328
*/
329
329
protected function configureSidLength ()
@@ -349,7 +349,7 @@ protected function configureSidLength()
349
349
*
350
350
* Clears old "flash" data, marks the new one for deletion and handles
351
351
* "temp" data deletion.
352
- *
352
+ *
353
353
* @return void
354
354
*/
355
355
protected function initVars ()
@@ -379,7 +379,7 @@ protected function initVars()
379
379
* Regenerates the session ID.
380
380
*
381
381
* @param bool $destroy Should old session data be destroyed?
382
- *
382
+ *
383
383
* @return void
384
384
*/
385
385
public function regenerate (bool $ destroy = false )
@@ -412,7 +412,7 @@ private function removeOldSessionCookie(): void
412
412
413
413
/**
414
414
* Destroys the current session.
415
- *
415
+ *
416
416
* @return void
417
417
*/
418
418
public function destroy ()
@@ -449,7 +449,7 @@ public function close()
449
449
*
450
450
* @param array|string $data Property name or associative array of properties
451
451
* @param array|bool|float|int|object|string|null $value Property value if single key provided
452
- *
452
+ *
453
453
* @return void
454
454
*/
455
455
public function set ($ data , $ value = null )
@@ -525,7 +525,7 @@ public function has(string $key): bool
525
525
*
526
526
* @param string $key Identifier of the session property we are interested in.
527
527
* @param array $data value to be pushed to existing session key.
528
- *
528
+ *
529
529
* @return void
530
530
*/
531
531
public function push (string $ key , array $ data )
@@ -543,7 +543,7 @@ public function push(string $key, array $data)
543
543
* of a specific session property to remove.
544
544
*
545
545
* @param array|string $key Identifier of the session property or properties to remove.
546
- *
546
+ *
547
547
* @return void
548
548
*/
549
549
public function remove ($ key )
@@ -617,7 +617,7 @@ public function __isset(string $key): bool
617
617
*
618
618
* @param array|string $data Property identifier or associative array of properties
619
619
* @param array|bool|float|int|object|string|null $value Property value if $data is a scalar
620
- *
620
+ *
621
621
* @return void
622
622
*/
623
623
public function setFlashdata ($ data , $ value = null )
@@ -659,7 +659,7 @@ public function getFlashdata(?string $key = null)
659
659
* Keeps a single piece of flash data alive for one more request.
660
660
*
661
661
* @param array|string $key Property identifier or array of them
662
- *
662
+ *
663
663
* @return void
664
664
*/
665
665
public function keepFlashdata ($ key )
@@ -703,7 +703,7 @@ public function markAsFlashdata($key): bool
703
703
* Unmark data in the session as flashdata.
704
704
*
705
705
* @param array|string $key Property identifier or array of them
706
- *
706
+ *
707
707
* @return void
708
708
*/
709
709
public function unmarkFlashdata ($ key )
@@ -756,7 +756,7 @@ public function getFlashKeys(): array
756
756
* @param array|string $data Session data key or associative array of items
757
757
* @param array|bool|float|int|object|string|null $value Value to store
758
758
* @param int $ttl Time-to-live in seconds
759
- *
759
+ *
760
760
* @return void
761
761
*/
762
762
public function setTempdata ($ data , $ value = null , int $ ttl = 300 )
@@ -797,7 +797,7 @@ public function getTempdata(?string $key = null)
797
797
* Removes a single piece of temporary data from the session.
798
798
*
799
799
* @param string $key Session data key
800
- *
800
+ *
801
801
* @return void
802
802
*/
803
803
public function removeTempdata (string $ key )
@@ -859,7 +859,7 @@ public function markAsTempdata($key, int $ttl = 300): bool
859
859
* lifespan and allowing it to live as long as the session does.
860
860
*
861
861
* @param array|string $key Property identifier or array of them
862
- *
862
+ *
863
863
* @return void
864
864
*/
865
865
public function unmarkTempdata ($ key )
@@ -906,7 +906,7 @@ public function getTempKeys(): array
906
906
/**
907
907
* Sets the driver as the session handler in PHP.
908
908
* Extracted for easier testing.
909
- *
909
+ *
910
910
* @return void
911
911
*/
912
912
protected function setSaveHandler ()
@@ -917,7 +917,7 @@ protected function setSaveHandler()
917
917
/**
918
918
* Starts the session.
919
919
* Extracted for testing reasons.
920
- *
920
+ *
921
921
* @return void
922
922
*/
923
923
protected function startSession ()
@@ -935,7 +935,7 @@ protected function startSession()
935
935
* Takes care of setting the cookie on the client side.
936
936
*
937
937
* @codeCoverageIgnore
938
- *
938
+ *
939
939
* @return void
940
940
*/
941
941
protected function setCookie ()
0 commit comments