public static function link($label, $url = null, array $attributes = array())
    {
        // If the label is null, use the URL
        if ($label === null) {
            $label = $url;
        }

        // If the URL parameter is an object, call its `href()` method.
        if (is_object($url) and method_exists($url, 'href')) {
            $url = $url->href();
        }

        // Is this a local link?
        // if (substr($url, 0, 4) != 'http') {
        //     $url = Request::basePath($url);
        // }

        $attributes['href'] = $url;
        $attributes = static::buildAttributes($attributes);

        return "<a {$attributes}>{$label}</a>";
    }