class StaticVersionStrategy implements VersionStrategyInterface
Returns the same version for all assets.
Methods
__construct(string $version, string $format = null) | ||
string | getVersion(string $path) Returns the asset version for an asset. | |
string | applyVersion(string $path) Applies version to the supplied path. |
Details
__construct(string $version, string $format = null)
string getVersion(string $path)
Returns the asset version for an asset.
string applyVersion(string $path)
Applies version to the supplied path.
Please login to continue.