1 | <?php |
||
16 | abstract class Extension implements CanPack, CanUnpackExt |
||
17 | { |
||
18 | private $type; |
||
19 | |||
20 | public function __construct(int $type) |
||
24 | |||
25 | public function getType() : int |
||
29 | |||
30 | public function pack(Packer $packer, $value) : ?string |
||
38 | |||
39 | abstract protected function packExt(Packer $packer, $value) : ?string; |
||
40 | } |
||
41 |