assetFrom() public method

Generate the URL to an asset from a custom root domain such as CDN, etc.
public assetFrom ( string $root, string $path, boolean | null $secure = null ) : string
$root string
$path string
$secure boolean | null
return string
コード例 #1
0
ファイル: _ide_helper.php プロジェクト: satriashp/tour
 /**
  * Generate a URL to an asset from a custom root domain such as CDN, etc.
  *
  * @param string $root
  * @param string $path
  * @param bool|null $secure
  * @return string 
  * @static 
  */
 public static function assetFrom($root, $path, $secure = null)
 {
     return \Illuminate\Routing\UrlGenerator::assetFrom($root, $path, $secure);
 }