We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a562c85 commit 6a35604Copy full SHA for 6a35604
src/Binary.php
@@ -6,21 +6,33 @@
6
7
final class Binary
8
{
9
+ /**
10
+ * @see EncoderInterface
11
+ */
12
public static function encode(string $data): Encoder
13
14
return new Encoder($data);
15
}
16
17
18
+ * @see DecoderInterface
19
20
public static function decode(string $data): Decoder
21
22
return new Decoder($data);
23
24
25
26
+ * @see Serializer::serialize()
27
28
public static function serialize(mixed $data): string
29
30
return (new Serializer())->serialize(serializable: $data);
31
32
33
34
+ * @see Serializer::unserialize()
35
36
public static function unserialize(string $data): mixed
37
38
return (new Serializer())->unserialize(serialized: $data);
0 commit comments