public function linkAsset(string $url, ?string $title = null, array $attributes = [], ?bool $secure = null): Htmlable
    {
        $url = $this->url->asset($url, $secure);

        return $this->link($url, $title ?: $url, $attributes, $secure);
    }
public function linkAsset(string $url, ?string $title = null, array $attributes = [], ?bool $secure = null): Htmlable
    {
        $url = $this->url->asset($url, $secure);

        return $this->link($url, $title ?: $url, $attributes, $secure);
    }
public function linkAsset ( string $ url , ? string $ title = null , array $ attributes = [ ] , ? bool $ secure = null ) : Htmlable { $ url = $ this -> url -> asset ( $ url , $ secure ) ; return $ this -> link ( $ url , $ title ? : $ url , $ attributes , $ secure ) ; }
Generate a HTML link to an asset.

@param  string  $url
@param  string|null  $title
@param  array  $attributes
@param  bool|null  $secure

@return \Illuminate\Contracts\Support\Htmlable
Generate a HTML link to an asset .