PHP Interface Roots\Sage\Assets\ManifestInterface

Author: QWp6t
Show file Open project: roots/sage

Public Methods

Method Description
get ( string $asset ) : string Get the cache-busted filename
getUri ( string $asset ) : string Get the cache-busted URI

Method Details

get() public method

If the manifest does not have an entry for $asset, then return $asset
public get ( string $asset ) : string
$asset string The original name of the file before cache-busting
return string

getUri() public method

If the manifest does not have an entry for $asset, then return URI for $asset
public getUri ( string $asset ) : string
$asset string The original name of the file before cache-busting
return string