ThemeId
in package
Class ThemeId
Table of Contents
- $id : string
- __construct() : mixed
- ThemeId constructor.
- create() : ThemeId
- Named constructor of ThemeId.
- equals() : bool
- Checks if the given theme id is equal to this one.
- getId() : string
- Returns the theme id.
Properties
$id
protected
string
$id
Methods
__construct()
ThemeId constructor.
public
__construct( $themeId) : mixed
Parameters
Return values
mixed —create()
Named constructor of ThemeId.
public
static create(string $themeId) : ThemeId
Parameters
- $themeId : string
-
Identifier for themes.
Return values
ThemeId —New instance.
equals()
Checks if the given theme id is equal to this one.
public
equals(ThemeId $id) : bool
Parameters
- $id : ThemeId
Return values
bool —getId()
Returns the theme id.
public
getId() : string