public function link($url, $name = null, $attributes = [])
    {
        $name = (is_null($name)) ? $url : $name;
        $this->setLocation($url, strtolower(__FUNCTION__));
        $lingTag = '';
        $lingTag = '<a href="'.$this->getBaseUrl().Html::entities($url).'"
         '.$this->addAttributes($attributes).'>'.Html::entities($name).'</a>'.PHP_EOL;

        /*
        | If method called statically we will simply return
        | as string
        */
        if (isset($attributes['type']) && $attributes['type'] == 'static') {
            return trim($this->stripCarriage($lingTag));
        }

        $this->assets[$this->tag[$this->where]][strtolower(__FUNCTION__)][] = trim($lingTag);

        return $this->assets[$this->tag[$this->where]][strtolower(__FUNCTION__)];
    }