Collective\Html\HtmlBuilder::linkSecureAsset PHP Method

linkSecureAsset() public method

Generate a HTTPS HTML link to an asset.
public linkSecureAsset ( string $url, string $title = null, array $attributes = [] ) : Illuminate\Support\HtmlString
$url string
$title string
$attributes array
return Illuminate\Support\HtmlString
    public function linkSecureAsset($url, $title = null, $attributes = [])
    {
        return $this->linkAsset($url, $title, $attributes, true);
    }

Usage Example

Example #1
0
 /**
  * Generate a HTTPS HTML link to an asset.
  *
  * @param string $url
  * @param string $title
  * @param array $attributes
  * @return \Illuminate\Support\HtmlString 
  * @static 
  */
 public static function linkSecureAsset($url, $title = null, $attributes = array())
 {
     return \Collective\Html\HtmlBuilder::linkSecureAsset($url, $title, $attributes);
 }