| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function present(Context $context, PresentationModel $presentationModel): PresentationModel |
||
| 19 | { |
||
| 20 | return $presentationModel->withVariables([ |
||
| 21 | 'items' => [ |
||
| 22 | new Item([ |
||
| 23 | 'name' => 'item 1', |
||
| 24 | 'description' => 'description', |
||
| 25 | ]), |
||
| 26 | new Item([ |
||
| 27 | 'name' => 'item 2', |
||
| 28 | 'description' => 'description', |
||
| 29 | ]), |
||
| 30 | new Item([ |
||
| 31 | 'name' => 'item 3', |
||
| 32 | 'description' => 'description', |
||
| 33 | ]), |
||
| 38 |