| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 9 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 22 | public function present(ServerRequestInterface $request, PresentationModel $presentationModel): PresentationModel | ||
| 23 |     { | ||
| 24 |         if ($request->getAttribute('throw_logic_exception', 'n') === 'y') { | ||
| 25 | return $presentationModel->withVariables([ | ||
| 26 | 'throw_logic_exception' => true, | ||
| 27 | ]); | ||
| 28 | } | ||
| 29 | |||
| 30 |         throw new RuntimeException('item_exception'); | ||
| 31 | } | ||
| 33 |