File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2222$ cookie ->getName (); // 'remember_token'
2323$ cookie ->getPrefix (); // '__Secure-'
2424$ cookie ->getPrefixedName (); // '__Secure-remember_token'
25- $ cookie ->getExpiresTimestamp (); // Unix timestamp
25+ $ cookie ->getExpiresTimestamp (); // UNIX timestamp
2626$ cookie ->getExpiresString (); // 'Fri, 14-Feb-2025 00:00:00 GMT'
2727$ cookie ->isExpired (); // false
2828$ cookie ->getMaxAge (); // the difference from time() to expires
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ $dateFormat
184184
185185This value works with `$useTimestamps `_ and `$useSoftDeletes `_ to ensure that the correct type of
186186date 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
188188`$useTimestamps `_ with an invalid or missing `$dateFormat `_ will cause an exception.
189189
190190$createdField
You can’t perform that action at this time.
0 commit comments