31 lines
488 B
PHP
31 lines
488 B
PHP
<?php
|
|
/* Icinga Web 2 | (c) 2022 Icinga GmbH | GPLv2+ */
|
|
|
|
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;
|
|
}
|
|
}
|