Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
ba300e02
Commit
ba300e02
authored
Nov 23, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some more comments to the session payload.
parent
ad9b49a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
payload.php
laravel/session/payload.php
+9
-1
No files found.
laravel/session/payload.php
View file @
ba300e02
...
...
@@ -250,6 +250,14 @@ class Payload {
/**
* Store the session payload in storage.
*
* The activity timestamp will be set, the flash data will be aged, and the
* session cookie will be written. The driver given when the session payload
* was constructed will be used to persist the session to storage.
*
* If the session's driver is a sweeper implementation, garbage collection
* may be performed based on the probabilities set in the "sweepage" option
* in the session configuration file.
*
* @return void
*/
public
function
save
()
...
...
@@ -309,4 +317,4 @@ class Payload {
Cookie
::
put
(
$cookie
,
$this
->
session
[
'id'
],
$minutes
,
$path
,
$domain
,
$secure
);
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment