public function setChannel($channel)
    {
        $this->removeTarget();

        if ($channel) {
            $this->channel = (string) $channel;
        }

        return $this;
    }
public function setChannel($channel)
    {
        $this->removeTarget();

        if ($channel) {
            $this->channel = (string) $channel;
        }

        return $this;
    }
public function setChannel ( $ channel ) { $ this -> removeTarget ( ) ; if ( $ channel ) { $ this -> channel = ( string ) $ channel ; } return $ this ; }
Set the channel which the message should be sent to.

@param  string  $channel
@return $this
Set the channel which the message should be sent to .