Skip to content

Commit 76318ab

Browse files
fancywebRobin Chalas
authored andcommitted
[Security][TokenInterface] Prepare for the new serialization mechanism
1 parent d2e5ea6 commit 76318ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Authentication/Token/TokenInterface.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
* @author Fabien Potencier <[email protected]>
2020
* @author Johannes M. Schmitt <[email protected]>
2121
*
22-
* @method string[] getRoleNames() The associated roles - not implementing it is deprecated since Symfony 4.3
22+
* @method array __serialize() Returns all the necessary state of the object for serialization purposes - not implementing it is deprecated since Symfony 4.3
23+
* @method void __unserialize(array $data) Restores the object state from an array given by __serialize() - not implementing it is deprecated since Symfony 4.3
24+
* @method string[] getRoleNames() The associated roles - not implementing it is deprecated since Symfony 4.3
2325
*/
2426
interface TokenInterface extends \Serializable
2527
{

0 commit comments

Comments
 (0)