code: protected function nextBufferLine()
      {
          $query = $this->parseQuery();
  
          if (!empty($query)) {
              $this->buffer[$this->key][self::PARAM_QUERY] = $query;
          } else {
              $this->buffer[$this->key] = false;
          }
      }
docs: Parse query line and store it to buffer.