interface Asset

Represents a static asset (image, script, stylesheet, etc.).

Provides a way to retrieve its public URL.

Methods

string
getUrl()

Returns the public URL of the asset.

string
__toString()

Allows direct echoing of the object to get the URL.

Details

at line 17
string getUrl()

Returns the public URL of the asset.

Return Value

string

at line 22
string __toString()

Allows direct echoing of the object to get the URL.

Return Value

string