Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | abstract class AAnswer |
||
15 | { |
||
16 | /** @var Fsp\Answer */ |
||
17 | protected $answer = null; |
||
18 | |||
19 | 13 | public function __construct(Fsp\Answer $answer) |
|
20 | { |
||
21 | 13 | $this->answer = $answer; |
|
22 | 13 | $this->customInit(); |
|
23 | 13 | } |
|
24 | |||
25 | 13 | protected function customInit(): void |
|
26 | { |
||
27 | 13 | } |
|
28 | |||
29 | 1 | public function getDataClass(): Fsp\Answer |
|
32 | } |
||
33 | |||
34 | abstract public function process(): self; |
||
35 | } |
||
36 |