Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | trait StaticTrait |
||
15 | { |
||
16 | /** |
||
17 | * @var bool $isStatic A boolean describing if it is static. |
||
18 | */ |
||
19 | protected $isStatic = false; |
||
20 | |||
21 | /** |
||
22 | * @param bool $isStatic The new static value to set. |
||
23 | */ |
||
24 | public function setIsStatic(bool $isStatic): void |
||
25 | { |
||
26 | $this->isStatic = $isStatic; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return bool True if it is static. |
||
31 | */ |
||
32 | public function isStatic(): bool |
||
35 | } |
||
36 | } |
||
37 |