original_string: public function serverGetByName($name)
    {
      foreach($this->serverList() as $server)
      {
        if($server["virtualserver_name"] == $name) return $server;
      }
  
      throw new Exception("invalid serverID", 0x400);
    }
code: public function serverGetByName($name)
    {
      foreach($this->serverList() as $server)
      {
        if($server["virtualserver_name"] == $name) return $server;
      }
  
      throw new Exception("invalid serverID", 0x400);
    }
code_tokens: public function serverGetByName ( $ name ) { foreach ( $ this -> serverList ( ) as $ server ) { if ( $ server [ "virtualserver_name" ] == $ name ) return $ server ; } throw new Exception ( "invalid serverID" , 0x400 ) ; }
docstring: Returns the first Server object matching the given name.
  
  @param  string $name
  @throws Exception
  @return Server
docstring_tokens: Returns the first Server object matching the given name .