public function solutionProblem($id) { $result = Chamado::query()->find($id); return (new SelectedProblems($result))->getProblem(); }