protected function getUrls(array $config)
    {
        if (!isset($config['urls'])
            || !is_array($config['urls'])
            || array_filter($config['urls'], 'is_string') != $config['urls']) {
            throw new \DomainException(
                'urls must be a list of strings containing feed URLs',
                self::ERR_URLS_INVALID
            );
        }
        return $config['urls'];
    }
protected function getUrls(array $config)
    {
        if (!isset($config['urls'])
            || !is_array($config['urls'])
            || array_filter($config['urls'], 'is_string') != $config['urls']) {
            throw new \DomainException(
                'urls must be a list of strings containing feed URLs',
                self::ERR_URLS_INVALID
            );
        }
        return $config['urls'];
    }
protected function getUrls ( array $ config ) { if ( ! isset ( $ config [ 'urls' ] ) || ! is_array ( $ config [ 'urls' ] ) || array_filter ( $ config [ 'urls' ] , 'is_string' ) != $ config [ 'urls' ] ) { throw new \ DomainException ( 'urls must be a list of strings containing feed URLs' , self :: ERR_URLS_INVALID ) ; } return $ config [ 'urls' ] ; }
Extracts feed URLs from configuration.

@param array $config
@return array
@throws \DomainException if urls setting is invalid
Extracts feed URLs from configuration .