public function getNodes($content)
    {
        $items = array();
        $document = $this->createDocumentFromXML($content);
        $nodes = $document->getElementsByTagName('item');
        if ($nodes->length) {
            foreach ($nodes as $node) {
                try {
                    $item = $this->create($node);
                    $items[] = $item;
                } catch (\Exception $e) {
                    throw new RuntimeException($e->getMessage());
                }
            }
        }

        return $items;
    }
public function getNodes($content)
    {
        $items = array();
        $document = $this->createDocumentFromXML($content);
        $nodes = $document->getElementsByTagName('item');
        if ($nodes->length) {
            foreach ($nodes as $node) {
                try {
                    $item = $this->create($node);
                    $items[] = $item;
                } catch (\Exception $e) {
                    throw new RuntimeException($e->getMessage());
                }
            }
        }

        return $items;
    }
public function getNodes ( $ content ) { $ items = array ( ) ; $ document = $ this -> createDocumentFromXML ( $ content ) ; $ nodes = $ document -> getElementsByTagName ( 'item' ) ; if ( $ nodes -> length ) { foreach ( $ nodes as $ node ) { try { $ item = $ this -> create ( $ node ) ; $ items [ ] = $ item ; } catch ( \ Exception $ e ) { throw new RuntimeException ( $ e -> getMessage ( ) ) ; } } } return $ items ; }
Retrieve a Items's array

@param $content

@return array
@throws \FastFeed\Exception\RuntimeException
Retrieve a Items s array