File tree 2 files changed +2
-17
lines changed
2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ CHANGELOG
5
5
---
6
6
7
7
* Remove ` Address::fromString() ` , use ` Address::create() ` instead
8
+ * Remove ` Serializable ` interface from ` RawMessage `
8
9
9
10
5.2.0
10
11
-----
Original file line number Diff line number Diff line change 16
16
/**
17
17
* @author Fabien Potencier <[email protected] >
18
18
*/
19
- class RawMessage implements \Serializable
19
+ class RawMessage
20
20
{
21
21
private $ message ;
22
22
@@ -60,22 +60,6 @@ public function ensureValidity()
60
60
{
61
61
}
62
62
63
- /**
64
- * @internal
65
- */
66
- final public function serialize (): string
67
- {
68
- return serialize ($ this ->__serialize ());
69
- }
70
-
71
- /**
72
- * @internal
73
- */
74
- final public function unserialize ($ serialized )
75
- {
76
- $ this ->__unserialize (unserialize ($ serialized ));
77
- }
78
-
79
63
public function __serialize (): array
80
64
{
81
65
return [$ this ->toString ()];
You can’t perform that action at this time.
0 commit comments