ThemeTrait
Table of Contents
Properties
- $deviceDetector : DeviceDetector|null
- $themeContext : ThemeContext|null
Methods
- getThemeContext() : ThemeContext|null
- injectDeviceDetector() : void
- setThemeContext() : $this
Properties
$deviceDetector
protected
DeviceDetector|null
$deviceDetector
= NULL
$themeContext
protected
ThemeContext|null
$themeContext
= NULL
Methods
getThemeContext()
public
getThemeContext() : ThemeContext|null
Return values
ThemeContext|nullinjectDeviceDetector()
public
injectDeviceDetector(DeviceDetector $detector) : void
Parameters
- $detector : DeviceDetector
setThemeContext()
public
setThemeContext(ThemeContext|null $themeContext) : $this
Parameters
- $themeContext : ThemeContext|null