class ScriptAsset implements Asset

Script asset.

Methods

__construct(string $url, string|null $mimeType = null, string|null $file = null, string|null $type = null, string|null $integrity = null, string|bool|null $crossorigin = null)

No description

string
__toString()

Allows direct echoing of the object to get the URL.

Details

at line 13
__construct(string $url, string|null $mimeType = null, string|null $file = null, string|null $type = null, string|null $integrity = null, string|bool|null $crossorigin = null)

No description

Parameters

string $url
string|null $mimeType
string|null $file
string|null $type
string|null $integrity
string|bool|null $crossorigin

at line 25
string __toString()

Allows direct echoing of the object to get the URL.

Return Value

string