| 1 | <?php |
||
| 13 | trait AbstractPart { |
||
| 14 | |||
| 15 | /** @var bool */ |
||
| 16 | private $abstract = false; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Returns whether this is abstract |
||
| 20 | * |
||
| 21 | * @return bool `true` for abstract and `false` if not |
||
| 22 | */ |
||
| 23 | 23 | public function isAbstract(): bool { |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Sets this to abstract |
||
| 29 | * |
||
| 30 | * @param bool $abstract `true` for abstract and `false` if not |
||
| 31 | * @return $this |
||
| 32 | */ |
||
| 33 | 18 | public function setAbstract(bool $abstract) { |
|
| 38 | } |
||
| 39 |