original_string: protected function fetchReply($rpl)
      {
          foreach ($rpl as $key => $val) {
              if ($val->startsWith(Teamspeak::GREET)) {
                  unset($rpl[$key]);
              } elseif ($val->startsWith(Teamspeak::EVENT)) {
                  $this->evt[] = new Event($rpl[$key], $this->con);
                  unset($rpl[$key]);
              }
          }
  
          $this->rpl = new StringHelper(implode(Teamspeak::SEPARATOR_LIST, $rpl));
      }
code: protected function fetchReply($rpl)
      {
          foreach ($rpl as $key => $val) {
              if ($val->startsWith(Teamspeak::GREET)) {
                  unset($rpl[$key]);
              } elseif ($val->startsWith(Teamspeak::EVENT)) {
                  $this->evt[] = new Event($rpl[$key], $this->con);
                  unset($rpl[$key]);
              }
          }
  
          $this->rpl = new StringHelper(implode(Teamspeak::SEPARATOR_LIST, $rpl));
      }
code_tokens: protected function fetchReply ( $ rpl ) { foreach ( $ rpl as $ key => $ val ) { if ( $ val -> startsWith ( Teamspeak :: GREET ) ) { unset ( $ rpl [ $ key ] ) ; } elseif ( $ val -> startsWith ( Teamspeak :: EVENT ) ) { $ this -> evt [ ] = new Event ( $ rpl [ $ key ] , $ this -> con ) ; unset ( $ rpl [ $ key ] ) ; } } $ this -> rpl = new StringHelper ( implode ( Teamspeak :: SEPARATOR_LIST , $ rpl ) ) ; }
docstring: Parses a ServerQuery reply and creates a String object.
  
  @param  array $rpl
  @return void
docstring_tokens: Parses a ServerQuery reply and creates a String object .