solutionRepository = $solutionRepository; } /** * action show * * @return ResponseInterface */ public function showAction(): ResponseInterface { $selectedSolutionId = (int)$this->settings['solution']; $solution = null; if ($selectedSolutionId) { $solution = $this->solutionRepository->findByUid($selectedSolutionId); } $this->view->assign('solution', $solution); return $this->htmlResponse(); } }