| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class SlackChannel implements ChannelInterface |
||
| 12 | { |
||
| 13 | private string $slackDestinyChannelId; |
||
| 14 | |||
| 15 | private SlackClientInterface $slackClient; |
||
| 16 | |||
| 17 | private TemplateGeneratorInterface $templateGenerator; |
||
| 18 | |||
| 19 | 1 | public function __construct( |
|
| 20 | string $slackDestinyChannelId, |
||
| 21 | SlackClientInterface $slackClient, |
||
| 22 | TemplateGeneratorInterface $templateGenerator |
||
| 23 | ) { |
||
| 24 | 1 | $this->slackClient = $slackClient; |
|
| 25 | 1 | $this->slackDestinyChannelId = $slackDestinyChannelId; |
|
| 26 | 1 | $this->templateGenerator = $templateGenerator; |
|
| 27 | 1 | } |
|
| 28 | |||
| 29 | 1 | public function send(NotifyResult $notifyResult): void |
|
| 34 | ); |
||
| 35 | 1 | } |
|
| 37 |