Interface

Symfony\Component\Templating\Asset\PackageInterface

interface PackageInterface

Asset package interface.

Methods

string getVersion()

Returns the asset package version.

string getUrl($path, $version = null)

Returns an absolute or root-relative public path.

Details

at line 26
public string getVersion()

Returns the asset package version.

Return Value

string The version string

at line 36
public string getUrl($path, $version = null)

Returns an absolute or root-relative public path.

Parameters

$path
$version

Return Value

string The public path