Documentation

VersionStrategyInterface

Asset version strategy interface.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Methods

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(string $path) : string
Parameters
$path : string
Return values
string

getVersion()

Returns the asset version for an asset.

public getVersion(string $path) : string
Parameters
$path : string
Return values
string

        
On this page

Search results