original_string: public function render(\DOMDocument $domDocument)
      {
          $domElement = $domDocument->createElement("dico");
          foreach ($this->entries as $language => $entries) {
              $languageElement = $domDocument->createElement("language");
              $languageElement->setAttribute("id", $language);
              foreach ($entries as $entryId => $entryValue) {
                  $entryElement = $domDocument->createElement($entryId, $entryValue);
                  $languageElement->appendChild($entryElement);
              }
              $domElement->appendChild($languageElement);
          }
          return $domElement;
      }
code: public function render(\DOMDocument $domDocument)
      {
          $domElement = $domDocument->createElement("dico");
          foreach ($this->entries as $language => $entries) {
              $languageElement = $domDocument->createElement("language");
              $languageElement->setAttribute("id", $language);
              foreach ($entries as $entryId => $entryValue) {
                  $entryElement = $domDocument->createElement($entryId, $entryValue);
                  $languageElement->appendChild($entryElement);
              }
              $domElement->appendChild($languageElement);
          }
          return $domElement;
      }
code_tokens: public function render ( \ DOMDocument $ domDocument ) { $ domElement = $ domDocument -> createElement ( "dico" ) ; foreach ( $ this -> entries as $ language => $ entries ) { $ languageElement = $ domDocument -> createElement ( "language" ) ; $ languageElement -> setAttribute ( "id" , $ language ) ; foreach ( $ entries as $ entryId => $ entryValue ) { $ entryElement = $ domDocument -> createElement ( $ entryId , $ entryValue ) ; $ languageElement -> appendChild ( $ entryElement ) ; } $ domElement -> appendChild ( $ languageElement ) ; } return $ domElement ; }
docstring: Render the Dico
  
  @param \DOMDocument $domDocument DOMDocument for which the Dico should be rendered
  @return \DOMElement
docstring_tokens: Render the Dico