interface Asset

Base asset interface with minimal API.

Properties

string read-only $url

The public URL

?string read-only $mimeType

The MIME type if available

?string read-only $file

The local file path if available

Methods

string
__toString()

Allows direct echoing of the object to get the URL.

Details

at line 23
string __toString()

Allows direct echoing of the object to get the URL.

Return Value

string