src/Slack/Payload.php
private function setChannel()
    {
        if (!$this->slackConfig->getWebhook()->hasCustomChannel()) {
            return;
        }

        $this->payload['channel'] = $this->slackConfig->getWebhook()->getCustomChannel();
    }
private function setChannel()
    {
        if (!$this->slackConfig->getWebhook()->hasCustomChannel()) {
            return;
        }

        $this->payload['channel'] = $this->slackConfig->getWebhook()->getCustomChannel();
    }
private function setChannel ( ) { if ( ! $ this -> slackConfig -> getWebhook ( ) -> hasCustomChannel ( ) ) { return ; } $ this -> payload [ 'channel' ] = $ this -> slackConfig -> getWebhook ( ) -> getCustomChannel ( ) ; }
Set a custom channel if available.
Set a custom channel if available .