| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 61.53% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class ChannelOptions |
||
| 9 | { |
||
| 10 | private $hookUrl; |
||
| 11 | |||
| 12 | private $tag; |
||
| 13 | |||
| 14 | 2 | public function __construct(?string $hookUrl, ?string $tag) |
|
| 15 | { |
||
| 16 | 2 | $this->hookUrl = $hookUrl; |
|
| 17 | 2 | $this->tag = $tag; |
|
| 18 | 2 | } |
|
| 19 | |||
| 20 | 2 | public function getHookUrl(): ?string |
|
| 23 | } |
||
| 24 | |||
| 25 | public function setHookUrl(?string $hookUrl): void |
||
| 26 | { |
||
| 27 | $this->hookUrl = $hookUrl; |
||
| 28 | } |
||
| 29 | |||
| 30 | 2 | public function getTag(): ?string |
|
| 31 | { |
||
| 32 | 2 | return $this->tag; |
|
| 33 | } |
||
| 34 | |||
| 35 | public function setTag(?string $tag): void |
||
| 38 | } |
||
| 39 | } |
||
| 40 |