| 1 | <?php |
||
| 7 | class Channel |
||
| 8 | { |
||
| 9 | private $name; |
||
| 10 | private $driver; |
||
| 11 | private $secret; |
||
| 12 | |||
| 13 | 1 | public function __construct(string $name, Driver $driver, string $secret = null) |
|
| 19 | |||
| 20 | 1 | public function getName(): string |
|
| 24 | |||
| 25 | 1 | public function getDriver(): Driver |
|
| 29 | |||
| 30 | public function getSecret(): ?string |
||
| 34 | |||
| 35 | public function getWebhookUrl(): string |
||
| 39 | } |
||
| 40 |