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