GenericAsset
class GenericAsset implements Asset
Asset for file types without a dedicated asset class.
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()
Returns the asset URL.
Details
at line 16
__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()
Returns the asset URL.
Traits
Lazy-loading of properties as a workaround for PHP < 8.4.