Icon
class Icon
Methods
__construct(string $src, string|null $mimeType = null, array $sizes = [], IconTheme|null $theme = null)
Create an icon.
static Icon
from(string $src, string|null $mimeType = null, array $sizes = [], IconTheme|null $theme = null)
Create an icon from an absolute or application-relative URL.
array
toArray()
Convert the icon to an array.
Details
at line 17
__construct(string $src, string|null $mimeType = null, array $sizes = [], IconTheme|null $theme = null)
Create an icon.
at line 30
static Icon
from(string $src, string|null $mimeType = null, array $sizes = [], IconTheme|null $theme = null)
Create an icon from an absolute or application-relative URL.
at line 42
array
toArray()
Convert the icon to an array.