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