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