72 if (isset($this->colourMap[
$index])) {
73 return $this->colourMap[
$index];
84 $vars = get_object_vars($this);
85 foreach ($vars as
$key => $value) {
86 if ((is_object($value)) && (
$key !=
'_parent')) {
87 $this->
$key = clone $value;
An exception for terminatinating execution or to throw for unit testing.
getColourByIndex($index)
Get colour Map Value by Position.
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
__construct($themeName, $colourSchemeName, $colourMap)
Create a new Theme.
getColourSchemeName()
Get colour Scheme Name.
getThemeName()
Get Theme Name.