TeamSpeak3/Node/Host.php
public function serverGetByUid($uid)
    {
        foreach ($this->serverList() as $server) {
            if ($server["virtualserver_unique_identifier"] == $uid) {
                return $server;
            }
        }

        throw new Ts3Exception("invalid serverID", 0x400);
    }
public function serverGetByUid($uid)
    {
        foreach ($this->serverList() as $server) {
            if ($server["virtualserver_unique_identifier"] == $uid) {
                return $server;
            }
        }

        throw new Ts3Exception("invalid serverID", 0x400);
    }
public function serverGetByUid ( $ uid ) { foreach ( $ this -> serverList ( ) as $ server ) { if ( $ server [ "virtualserver_unique_identifier" ] == $ uid ) { return $ server ; } } throw new Ts3Exception ( "invalid serverID" , 0x400 ) ; }
Returns the first Server object matching the given unique identifier.

@param  string $uid
@throws Ts3Exception
@return Server
Returns the first Server object matching the given unique identifier .