| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class StateInfo implements Message |
||
| 9 | { |
||
| 10 | public const MESSAGE_TYPE_ID = 35; |
||
| 11 | public const WIRE_SIZE = 24; |
||
| 12 | |||
| 13 | private $info; |
||
| 14 | |||
| 15 | 3 | public function __construct(TimeInfo $info) |
|
| 18 | } |
||
| 19 | |||
| 20 | 1 | public function getInfo(): TimeInfo |
|
| 21 | { |
||
| 22 | 1 | return $this->info; |
|
| 23 | } |
||
| 24 | |||
| 25 | 1 | public function getTypeId(): int |
|
| 26 | { |
||
| 27 | 1 | return self::MESSAGE_TYPE_ID; |
|
| 28 | } |
||
| 29 | |||
| 30 | 1 | public function getWireSize(): int |
|
| 33 | } |
||
| 34 | } |
||
| 35 |