Total Complexity | 1 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | final class BasePresenter implements PresenterInterface |
||
11 | { |
||
12 | /** |
||
13 | * Receives the current HTTP request context and the presentation model assigned to the view. If necessary, |
||
14 | * populates the presentation model with data and returns it. |
||
15 | * |
||
16 | * @param ServerRequestInterface $request |
||
17 | * @param PresentationModel $presentationModel |
||
18 | * |
||
19 | * @return PresentationModel |
||
20 | */ |
||
21 | public function present(ServerRequestInterface $request, PresentationModel $presentationModel): PresentationModel |
||
28 |