private function lookupChannelKey($channelName)
  {

    if ($channelName == '#niche_monitoring') {
      $channelKey = $this->slackConfig['webhookURL_niche_monitoring'];
    } elseif ($channelName == '#after-school-internal') {
      $channelKey = $this->slackConfig['webhookURL_after-school-internal'];
    } else {
      $channelKey = $this->slackConfig['webhookURL_message-broker'];
    }

    return $channelKey;
  }
private function lookupChannelKey($channelName)
  {

    if ($channelName == '#niche_monitoring') {
      $channelKey = $this->slackConfig['webhookURL_niche_monitoring'];
    } elseif ($channelName == '#after-school-internal') {
      $channelKey = $this->slackConfig['webhookURL_after-school-internal'];
    } else {
      $channelKey = $this->slackConfig['webhookURL_message-broker'];
    }

    return $channelKey;
  }
private function lookupChannelKey ( $ channelName ) { if ( $ channelName == '#niche_monitoring' ) { $ channelKey = $ this -> slackConfig [ 'webhookURL_niche_monitoring' ] ; } elseif ( $ channelName == '#after-school-internal' ) { $ channelKey = $ this -> slackConfig [ 'webhookURL_after-school-internal' ] ; } else { $ channelKey = $ this -> slackConfig [ 'webhookURL_message-broker' ] ; } return $ channelKey ; }
Lookup channel key value based on channel name.

@param string $channelName The name of the channel.

@return string $channelKey A key value based on the channel name.
Lookup channel key value based on channel name .