original_string: public function getBody()
      {
          $body = $this->dom->getElementsByTagName('body');
          if ($body->length) {
              return $body->item(0);
          }
  
          $bodyelt = $this->dom->createElement('body');
          $this->dom->documentElement->appendChild($bodyelt);
  
          return $bodyelt;
      }
code: public function getBody()
      {
          $body = $this->dom->getElementsByTagName('body');
          if ($body->length) {
              return $body->item(0);
          }
  
          $bodyelt = $this->dom->createElement('body');
          $this->dom->documentElement->appendChild($bodyelt);
  
          return $bodyelt;
      }
code_tokens: public function getBody ( ) { $ body = $ this -> dom -> getElementsByTagName ( 'body' ) ; if ( $ body -> length ) { return $ body -> item ( 0 ) ; } $ bodyelt = $ this -> dom -> createElement ( 'body' ) ; $ this -> dom -> documentElement -> appendChild ( $ bodyelt ) ; return $ bodyelt ; }
docstring: Returns the BODY element, or creates one if it doesn't exist.
  
  @since 2.2.0
  
  @return DOMElement  BODY element.
docstring_tokens: Returns the BODY element or creates one if it doesn t exist .