EmptyVersionStrategy
in package
implements
VersionStrategyInterface
Disable version for all assets.
Tags
Interfaces, Classes, Traits and Enums
- VersionStrategyInterface
- Asset version strategy interface.
Table of Contents
- applyVersion() : string
- Applies version to the supplied path.
- getVersion() : string
- Returns the asset version for an asset.
Methods
applyVersion()
Applies version to the supplied path.
public
applyVersion(mixed $path) : string
Parameters
- $path : mixed
-
A path
Return values
string —The versionized path
getVersion()
Returns the asset version for an asset.
public
getVersion(mixed $path) : string
Parameters
- $path : mixed
-
A path
Return values
string —The version string