Documentation

PackageInterface

Asset package interface.

Tags
author

Kris Wallsmith kris@symfony.com

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
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