Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | abstract class Serializable implements SerializableInterface |
||
8 | { |
||
9 | /** |
||
10 | * @return string |
||
11 | */ |
||
12 | 113 | public function getHex(): string |
|
13 | { |
||
14 | 113 | return $this->getBuffer()->getHex(); |
|
15 | } |
||
16 | |||
17 | /** |
||
18 | * @return string |
||
19 | */ |
||
20 | 5443 | public function getBinary(): string |
|
21 | { |
||
22 | 5443 | return $this->getBuffer()->getBinary(); |
|
23 | } |
||
24 | |||
25 | /** |
||
26 | * @return int |
||
27 | */ |
||
28 | 40 | public function getInt() |
|
31 | } |
||
32 | } |
||
33 |