src/Common/Internal/Atom/AtomBase.php
protected function processEntryNode($xmlArray)
    {
        $entry = [];
        $entryItem = $xmlArray[Resources::ENTRY];

        if (is_array($entryItem)) {
            foreach ($xmlArray[Resources::ENTRY] as $entryXmlInstance) {
                $entryInstance = new Entry();
                $entryInstance->fromXml($entryXmlInstance);
                $entry[] = $entryInstance;
            }
        } else {
            $entryInstance = new Entry();
            $entryInstance->fromXml($entryItem);
            $entry[] = $entryInstance;
        }

        return $entry;
    }
protected function processEntryNode($xmlArray)
    {
        $entry = [];
        $entryItem = $xmlArray[Resources::ENTRY];

        if (is_array($entryItem)) {
            foreach ($xmlArray[Resources::ENTRY] as $entryXmlInstance) {
                $entryInstance = new Entry();
                $entryInstance->fromXml($entryXmlInstance);
                $entry[] = $entryInstance;
            }
        } else {
            $entryInstance = new Entry();
            $entryInstance->fromXml($entryItem);
            $entry[] = $entryInstance;
        }

        return $entry;
    }
protected function processEntryNode ( $ xmlArray ) { $ entry = [ ] ; $ entryItem = $ xmlArray [ Resources :: ENTRY ] ; if ( is_array ( $ entryItem ) ) { foreach ( $ xmlArray [ Resources :: ENTRY ] as $ entryXmlInstance ) { $ entryInstance = new Entry ( ) ; $ entryInstance -> fromXml ( $ entryXmlInstance ) ; $ entry [ ] = $ entryInstance ; } } else { $ entryInstance = new Entry ( ) ; $ entryInstance -> fromXml ( $ entryItem ) ; $ entry [ ] = $ entryInstance ; } return $ entry ; }
Processes entry node.

@param array $xmlArray An array of simple xml elements

@return array
Processes entry node .