Property | Type | Description | |
---|---|---|---|
$mappingDefault |
Property | Type | Description | |
---|---|---|---|
$mapping | array | Mapping - Stores the mapping betweenSlide and theme |
Method | Description | |
---|---|---|
__construct ( ) | ColorMap constructor. | |
changeColor ( string $item, string $newThemeColor ) | Change the color of one of the elements in the map | |
getMapping ( ) : array | Get the whole mapping as an array | |
setMapping ( array $arrayMapping = [] ) | Store a new map. For use with the reader |
public changeColor ( string $item, string $newThemeColor ) | ||
$item | string | |
$newThemeColor | string |
public getMapping ( ) : array | ||
return | array |
public setMapping ( array $arrayMapping = [] ) | ||
$arrayMapping | array |
protected array $mapping | ||
return | array |