original_string: public function parse(\DOMDocument $dom)
      {
          $feed = $this->getStandard()->newFeed();
          $rootNode = $this->getStandard()->getRootNode($dom);
          $this->parseNodeChildren($rootNode, $feed);
          return $feed;
      }
code: public function parse(\DOMDocument $dom)
      {
          $feed = $this->getStandard()->newFeed();
          $rootNode = $this->getStandard()->getRootNode($dom);
          $this->parseNodeChildren($rootNode, $feed);
          return $feed;
      }
code_tokens: public function parse ( \ DOMDocument $ dom ) { $ feed = $ this -> getStandard ( ) -> newFeed ( ) ; $ rootNode = $ this -> getStandard ( ) -> getRootNode ( $ dom ) ; $ this -> parseNodeChildren ( $ rootNode , $ feed ) ; return $ feed ; }
docstring: Turn a dom document into a feed object.
  @param \DOMDocument $dom
  @return FeedInterface
  @throws InvalidNumberOfRootTagsException
docstring_tokens: Turn a dom document into a feed object .