protected function parseUrl(array $attributes) : void
    {
        if (isset($attributes['url']))
            $this->setUrl($attributes['url']);

        if (isset($attributes['route']))
            $this->route(...Arr::wrap($attributes['route']));

        if (isset($attributes['action']))
            $this->action(...Arr::wrap($attributes['action']));
    }
protected function parseUrl(array $attributes) : void
    {
        if (isset($attributes['url']))
            $this->setUrl($attributes['url']);

        if (isset($attributes['route']))
            $this->route(...Arr::wrap($attributes['route']));

        if (isset($attributes['action']))
            $this->action(...Arr::wrap($attributes['action']));
    }
protected function parseUrl ( array $ attributes ) : void { if ( isset ( $ attributes [ 'url' ] ) ) $ this -> setUrl ( $ attributes [ 'url' ] ) ; if ( isset ( $ attributes [ 'route' ] ) ) $ this -> route ( ... Arr :: wrap ( $ attributes [ 'route' ] ) ) ; if ( isset ( $ attributes [ 'action' ] ) ) $ this -> action ( ... Arr :: wrap ( $ attributes [ 'action' ] ) ) ; }
Parse the url attribute.

@param  array  $attributes

@return void
Parse the url attribute .