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