blob: 2cee178b8482a44daa62dffaffe5c3058c42c19e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<?php
/* Icinga DB Web | (c) 2020 Icinga GmbH | GPLv2 */
namespace Icinga\Module\Icingadb\Common;
trait CaptionDisabled
{
/** @var bool */
protected $captionDisabled = false;
/**
* @return bool
*/
public function isCaptionDisabled(): bool
{
return $this->captionDisabled;
}
/**
* @param bool $captionDisabled
*
* @return $this
*/
public function setCaptionDisabled(bool $captionDisabled = true): self
{
$this->captionDisabled = $captionDisabled;
return $this;
}
}
|