/**
  * Finds a thread by its ID
  *
  * @return ThreadInterface or null
  */
 public function findThreadById($id)
 {
     return $this->repository->find($id);
 }
Пример #2
0
 /**
  * Find one comment by its ID
  *
  * @return Comment or null
  **/
 public function findCommentById($id)
 {
     return $this->repository->find($id);
 }