| 1 | <?php |
||
| 6 | class SlackChannelDestination extends Destination |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var string |
||
| 10 | */ |
||
| 11 | private $channel; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param string $channel |
||
| 15 | */ |
||
| 16 | 3 | public function __construct(string $channel) |
|
| 20 | |||
| 21 | /** |
||
| 22 | * @return string |
||
| 23 | */ |
||
| 24 | 2 | public function channel(): string |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | 1 | public function jsonRepresentation(): string |
|
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | 1 | public static function fromJsonRepresentation(string $jsonRepresentation): Destination |
|
| 46 | } |
||
| 47 |