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 ;
@@ -100,23 +91,4 @@ public function getMessageData(): array
100
91
{
101
92
return [];
102
93
}
103
-
104
- /**
105
- * @internal
106
- */
107
- public function __sleep (): array
108
- {
109
- $ this ->serialized = $ this ->__serialize ();
110
-
111
- return ['serialized ' ];
112
- }
113
-
114
- /**
115
- * @internal
116
- */
117
- public function __wakeup (): void
118
- {
119
- $ this ->__unserialize ($ this ->serialized );
120
- unset($ this ->serialized );
121
- }
122
94
}
You can’t perform that action at this time.
0 commit comments