TeamSpeak3/Node/Server.php
public function channelGetByName($name)
    {
        foreach ($this->channelList() as $channel) {
            if ($channel["channel_name"] == $name) {
                return $channel;
            }
        }

        throw new Ts3Exception("invalid channelID", 0x300);
    }
public function channelGetByName($name)
    {
        foreach ($this->channelList() as $channel) {
            if ($channel["channel_name"] == $name) {
                return $channel;
            }
        }

        throw new Ts3Exception("invalid channelID", 0x300);
    }
Returns the Channel object matching the given name.

@param  string $name
@throws Ts3Exception
@return Channel