public function link($url, $title, $attributes = []) { $attributes['href'] = $url; $attributes = $this->parseAttributes($attributes); $title = empty(trim($title)) ? $url : $title; return '<a ' . $attributes . '>' . $title . '</a>'; }