Theme
extends PlatformUtility
in package
Provides theme utility functions.
Tags
Table of Contents
- get() : mixed|null
- Get a value from the theme.
- list() : array<string|int, mixed>
- Get a list of all theme values.
Methods
get()
Get a value from the theme.
public
get(string $key[, mixed|null $fallback = null ]) :
mixed|null
If the key does not exists or is null, this function will return the provided default argument instead.
Parameters
- $key : string
- $fallback : mixed|null = null
Tags
Return values
mixed|null —list()
Get a list of all theme values.
public
list() :
array<string|int, mixed>