Свойство | Тип | Описание | |
---|---|---|---|
$mappingDefault |
Свойство | Тип | Описание | |
---|---|---|---|
$mapping | array | Mapping - Stores the mapping betweenSlide and theme |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | array |
public setMapping ( array $arrayMapping = [] ) | ||
$arrayMapping | array |
protected array $mapping | ||
Результат | array |