public function combineAssets(array $assets, $localPath = '')
    {
        // Short circuit if no assets actually provided
        if (empty($assets)) {
            return '';
        }
        $assetPath = !empty($localPath) ? $localPath : $this->assetPath;
        return Url::to(CombineAssets::combine($assets, $assetPath));
    }
public function combineAssets(array $assets, $localPath = '')
    {
        // Short circuit if no assets actually provided
        if (empty($assets)) {
            return '';
        }
        $assetPath = !empty($localPath) ? $localPath : $this->assetPath;
        return Url::to(CombineAssets::combine($assets, $assetPath));
    }
public function combineAssets ( array $ assets , $ localPath = '' ) { // Short circuit if no assets actually provided if ( empty ( $ assets ) ) { return '' ; } $ assetPath = ! empty ( $ localPath ) ? $ localPath : $ this -> assetPath ; return Url :: to ( CombineAssets :: combine ( $ assets , $ assetPath ) ) ; }
Run the provided assets through the Asset Combiner
@param array $assets Collection of assets
@param string $localPath Prefix all assets with this path (optional)
@return string
Run the provided assets through the Asset Combiner