| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class SetLocation implements Message |
||
| 9 | { |
||
| 10 | public const MESSAGE_TYPE_ID = 49; |
||
| 11 | public const WIRE_SIZE = 56; |
||
| 12 | |||
| 13 | private $location; |
||
| 14 | |||
| 15 | 5 | public function __construct(Location $location) |
|
| 16 | { |
||
| 17 | 5 | $this->location = $location; |
|
| 18 | } |
||
| 19 | |||
| 20 | 3 | public function getLocation(): Location |
|
| 23 | } |
||
| 24 | |||
| 25 | 1 | public function getTypeId(): int |
|
| 28 | } |
||
| 29 | |||
| 30 | 1 | public function getWireSize(): int |
|
| 33 | } |
||
| 34 | } |
||
| 35 |