2022-01-18 16:35:47 +01:00
|
|
|
<?php
|
2022-06-29 15:51:46 +02:00
|
|
|
/* Icinga Web 2 | (c) 2022 Icinga GmbH | GPLv2+ */
|
2022-01-18 16:35:47 +01:00
|
|
|
|
|
|
|
namespace Icinga\Less;
|
|
|
|
|
|
|
|
trait LightModeTrait
|
|
|
|
{
|
|
|
|
/** @var LightMode */
|
|
|
|
private $lightMode;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return LightMode
|
|
|
|
*/
|
|
|
|
public function getLightMode()
|
|
|
|
{
|
|
|
|
return $this->lightMode;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param LightMode $lightMode
|
|
|
|
*
|
|
|
|
* @return $this
|
|
|
|
*/
|
|
|
|
public function setLightMode(LightMode $lightMode)
|
|
|
|
{
|
|
|
|
$this->lightMode = $lightMode;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
}
|