| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | 2 | public function build(AbstractModel $model): void { |
|
| 15 | 2 | $this->sort($model); |
|
| 16 | |||
| 17 | 2 | $this->buildHeader($model); |
|
| 18 | |||
| 19 | // signature |
||
| 20 | 2 | $this->buildSignature($model); |
|
| 21 | |||
| 22 | // body |
||
| 23 | 2 | $this->writer->writeln(" {\n")->indent(); |
|
| 24 | 2 | $this->buildConstants($model); |
|
| 25 | 2 | $this->buildMethods($model); |
|
| 26 | 2 | $this->writer->outdent()->rtrim()->write('}'); |
|
| 27 | 2 | } |
|
| 28 | |||
| 45 |