getById() публичный Метод

Get comment by given id.
public getById ( $id ) : mixed
$id
Результат mixed
Пример #1
0
 public function getUpdate($id)
 {
     $comment = $this->commentRepository->getById($id);
     return view('weyi.comment.update', compact('comment'));
 }