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