File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
22
$ cookie ->getName (); // 'remember_token'
23
23
$ cookie ->getPrefix (); // '__Secure-'
24
24
$ cookie ->getPrefixedName (); // '__Secure-remember_token'
25
- $ cookie ->getExpiresTimestamp (); // Unix timestamp
25
+ $ cookie ->getExpiresTimestamp (); // UNIX timestamp
26
26
$ cookie ->getExpiresString (); // 'Fri, 14-Feb-2025 00:00:00 GMT'
27
27
$ cookie ->isExpired (); // false
28
28
$ cookie ->getMaxAge (); // the difference from time() to expires
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ $dateFormat
184
184
185
185
This value works with `$useTimestamps `_ and `$useSoftDeletes `_ to ensure that the correct type of
186
186
date value gets inserted into the database. By default, this creates DATETIME values, but
187
- valid options are: ``'datetime' ``, ``'date' ``, or ``'int' `` (a PHP timestamp). Using `$useSoftDeletes `_ or
187
+ valid options are: ``'datetime' ``, ``'date' ``, or ``'int' `` (a UNIX timestamp). Using `$useSoftDeletes `_ or
188
188
`$useTimestamps `_ with an invalid or missing `$dateFormat `_ will cause an exception.
189
189
190
190
$createdField
You can’t perform that action at this time.
0 commit comments