| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Channel |
||
| 8 | { |
||
| 9 | private $name; |
||
| 10 | private $driver; |
||
| 11 | private $secret; |
||
| 12 | |||
| 13 | public function __construct(string $name, Driver $driver, string $secret = null) |
||
| 18 | } |
||
| 19 | |||
| 20 | public function getName(): string |
||
| 23 | } |
||
| 24 | |||
| 25 | public function getDriver(): Driver |
||
| 26 | { |
||
| 27 | return $this->driver; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getSecret(): ?string |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getWebhookUrl(): string |
||
| 38 | } |
||
| 39 | } |
||
| 40 |