protected function parseBatchAttributes($attributes = [])
    {
        if (isset($attributes['urls'])) {
            if (is_array($attributes['urls'])) {
                $this->addBatchUrls($attributes['urls']);
            } elseif (is_string($attributes['urls'])) {
                $this->addBatchUrl($attributes['urls']);
            }
        }
    }
protected function parseBatchAttributes($attributes = [])
    {
        if (isset($attributes['urls'])) {
            if (is_array($attributes['urls'])) {
                $this->addBatchUrls($attributes['urls']);
            } elseif (is_string($attributes['urls'])) {
                $this->addBatchUrl($attributes['urls']);
            }
        }
    }
protected function parseBatchAttributes ( $ attributes = [ ] ) { if ( isset ( $ attributes [ 'urls' ] ) ) { if ( is_array ( $ attributes [ 'urls' ] ) ) { $ this -> addBatchUrls ( $ attributes [ 'urls' ] ) ; } elseif ( is_string ( $ attributes [ 'urls' ] ) ) { $ this -> addBatchUrl ( $ attributes [ 'urls' ] ) ; } } }
Attempts to parse attributes to pull valid urls.

@param  array   $attributes

@return void
Attempts to parse attributes to pull valid urls .