File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change 23
23
#[WithHttpStatus(401 )]
24
24
class AuthenticationException extends RuntimeException
25
25
{
26
- /** @internal */
27
- protected $ serialized ;
28
-
29
26
private ?TokenInterface $ token = null ;
30
27
31
- public function __construct (string $ message = '' , int $ code = 0 , \Throwable $ previous = null )
32
- {
33
- unset($ this ->serialized );
34
- parent ::__construct ($ message , $ code , $ previous );
35
- }
36
-
37
28
public function getToken (): ?TokenInterface
38
29
{
39
30
return $ this ->token ;
@@ -105,23 +96,4 @@ public function getMessageData(): array
105
96
{
106
97
return [];
107
98
}
108
-
109
- /**
110
- * @internal
111
- */
112
- public function __sleep (): array
113
- {
114
- $ this ->serialized = $ this ->__serialize ();
115
-
116
- return ['serialized ' ];
117
- }
118
-
119
- /**
120
- * @internal
121
- */
122
- public function __wakeup (): void
123
- {
124
- $ this ->__unserialize ($ this ->serialized );
125
- unset($ this ->serialized );
126
- }
127
99
}
You can’t perform that action at this time.
0 commit comments