PackageInterface
in
Asset package interface.
Tags
Table of Contents
Methods
- getUrl() : string
- Returns an absolute or root-relative public path.
- getVersion() : string
- Returns the asset version for an asset.
Methods
getUrl()
Returns an absolute or root-relative public path.
public
getUrl(string $path) : string
Parameters
- $path : string
Return values
stringgetVersion()
Returns the asset version for an asset.
public
getVersion(string $path) : string
Parameters
- $path : string