GenericAsset
class GenericAsset implements Asset
Generic asset for any general file type.
Properties
$mimeType |
Methods
__construct(string $url, string|null $mimeType = null, string|null $file = null, string|null $media = null, string|null $integrity = null)
No description
string
__toString()
Allows direct echoing of the object to get the URL.
Details
at line 18
__construct(string $url, string|null $mimeType = null, string|null $file = null, string|null $media = null, string|null $integrity = null)
No description
at line 29
string
__toString()
Allows direct echoing of the object to get the URL.
Traits
Lazy-loading of properties as a workaround for PHP < 8.4.