File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed
Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change 99use Laminas \DeveloperTools \Collector \AutoHideInterface ;
1010use Laminas \DeveloperTools \Collector \CollectorInterface ;
1111use Laminas \Mvc \MvcEvent ;
12- use Serializable ;
1312
1413use function ksort ;
15- use function serialize ;
16- use function unserialize ;
1714
1815/**
1916 * Collector to be used in DeveloperTools to record and display mapping information
2017 */
21- class MappingCollector implements CollectorInterface, AutoHideInterface, Serializable
18+ class MappingCollector implements CollectorInterface, AutoHideInterface
2219{
2320 /**
2421 * Collector priority
@@ -93,16 +90,6 @@ public function __serialize(): array
9390 ];
9491 }
9592
96- /**
97- * {@inheritDoc}
98- *
99- * @deprecated 4.2.0 This function will be removed in 5.0.0. Use __serialize() instead.
100- */
101- public function serialize ()
102- {
103- return serialize ($ this ->__serialize ());
104- }
105-
10693 /**
10794 * @param array{name: string, classes: ClassMetadata[]} $data
10895 */
@@ -112,16 +99,6 @@ public function __unserialize(array $data): void
11299 $ this ->classes = $ data ['classes ' ];
113100 }
114101
115- /**
116- * {@inheritDoc}
117- *
118- * @deprecated 4.2.0 This function will be removed in 5.0.0. Use __unserialize() instead.
119- */
120- public function unserialize ($ serialized )
121- {
122- $ this ->__unserialize (unserialize ($ serialized ));
123- }
124-
125102 /**
126103 * @return ClassMetadata[]
127104 */
You can’t perform that action at this time.
0 commit comments