Closed
Description
In the documentation, the instruction for catch the session library with the helper causes confusions.
It is said :
$session = session()->start();
but start() does not return the session object, so we can not use the others method directly (like $session->set(...) )
Two suggestions :
- add "return $this;" in the start() method (Session/Session.php)
or - Change this line in the documentation
Metadata
Metadata
Assignees
Labels
No labels
Activity