class Icon

Methods

__construct(string $src, string|null $mimeType = null, array $sizes = [], IconTheme|null $theme = null)

Create an icon attribute.

toIcon()

Resolve the attribute to an icon value.

Details

at line 19
__construct(string $src, string|null $mimeType = null, array $sizes = [], IconTheme|null $theme = null)

Create an icon attribute.

Parameters

string $src
string|null $mimeType
array $sizes
IconTheme|null $theme

at line 30
Icon toIcon()

Resolve the attribute to an icon value.

Return Value

Icon