Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
17 | final class SubAck extends ProtocolBase implements ReadableContentInterface |
||
18 | { |
||
19 | use ReadableContent; |
||
20 | |||
21 | const CONTROL_PACKET_VALUE = 9; |
||
22 | |||
23 | /** |
||
24 | * @var int |
||
25 | */ |
||
26 | private $packetIdentifier = 0; |
||
27 | |||
28 | public function fillObject(string $rawMQTTHeaders): ReadableContentInterface |
||
29 | { |
||
30 | $this->packetIdentifier = $this->extractPacketIdentifier($rawMQTTHeaders); |
||
31 | return $this; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @inheritdoc |
||
36 | * @throws \LogicException |
||
37 | */ |
||
38 | public function performSpecialActions(ClientInterface $client, WritableContentInterface $originalRequest): bool |
||
50 | } |
||
51 | } |
||
52 |