protected function parseEntry($entry)
    {
        if (!get_property($entry, 'url')) {
            throw new \InvalidArgumentException('Url is missing or not accessible.');
        }
        $url        = get_property($entry, 'url');
        $lastmod    = get_property($entry, 'lastmod');
        $changefreq = get_property($entry, 'changefreq');
        $priority   = get_property($entry, 'priority');

        return [$url, $lastmod, $changefreq, $priority];
    }
protected function parseEntry($entry)
    {
        if (!get_property($entry, 'url')) {
            throw new \InvalidArgumentException('Url is missing or not accessible.');
        }
        $url        = get_property($entry, 'url');
        $lastmod    = get_property($entry, 'lastmod');
        $changefreq = get_property($entry, 'changefreq');
        $priority   = get_property($entry, 'priority');

        return [$url, $lastmod, $changefreq, $priority];
    }
protected function parseEntry ( $ entry ) { if ( ! get_property ( $ entry , 'url' ) ) { throw new \ InvalidArgumentException ( 'Url is missing or not accessible.' ) ; } $ url = get_property ( $ entry , 'url' ) ; $ lastmod = get_property ( $ entry , 'lastmod' ) ; $ changefreq = get_property ( $ entry , 'changefreq' ) ; $ priority = get_property ( $ entry , 'priority' ) ; return [ $ url , $ lastmod , $ changefreq , $ priority ] ; }
Parses the given Entry into its constituent parts.
@param  mixed $entry The entry to parse
@return array
@throws \InvalidArgumentException
Parses the given Entry into its constituent parts .