File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ public function serialize(): string
7777 * If a sub-class overrides this, it should call the parent function and include it in its result.
7878 *
7979 * @return array The serialized action, e.g. for storage in a database. This will not contain sensitive user data.
80+ * Note that this is not necessarily valid UTF-8, so you should store it as a BLOB column or raw bytes.
8081 */
8182 public function __serialize (): array
8283 {
Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ public function __destruct()
159159 * carefully (not written to log files, only to a database or other storage system that would normally be used
160160 * for user data). The returned string never contains highly sensitive information (not the user's password or
161161 * PIN), so it probably does not need to be encrypted. Treat it like a session cookie of the same bank.
162+ * Note that this is not necessarily valid UTF-8, so you should store it as a BLOB column or raw bytes.
162163 */
163164 public function persist (bool $ minimal = false ): string
164165 {
You can’t perform that action at this time.
0 commit comments