Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | trait RelayStateTrait |
||
15 | { |
||
16 | /** |
||
17 | * The relay state. |
||
18 | * |
||
19 | * @var string|null |
||
20 | */ |
||
21 | protected ?string $relayState = null; |
||
22 | |||
23 | |||
24 | /** |
||
25 | * Set the RelayState associated with he message. |
||
26 | * |
||
27 | * @param string|null $relayState The RelayState. |
||
28 | */ |
||
29 | public function setRelayState(?string $relayState = null): void |
||
33 | } |
||
34 | |||
35 | |||
36 | /** |
||
37 | * Get the RelayState associated with the message. |
||
38 | * |
||
39 | * @return string|null The RelayState. |
||
40 | */ |
||
41 | public function getRelayState(): ?string |
||
46 |