Total Complexity | 5 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 86.67% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class ChannelContextNode extends ContextNode |
||
6 | { |
||
7 | public string $channelJsVarKey; |
||
8 | public array $channelContext; |
||
9 | |||
10 | 3 | public function __construct(string $channelJsVarKey, array $channelContext) |
|
11 | { |
||
12 | 3 | $this->channelJsVarKey = $channelJsVarKey; |
|
13 | 3 | $this->channelContext = $channelContext; |
|
14 | 3 | } |
|
15 | |||
16 | 1 | public function __toString() |
|
28 | } |
||
29 | |||
30 | public function jsonSerialize() |
||
35 |