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