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