示例#1
0
 function handleReply($text, $comment)
 {
     try {
         $project_id = $this->projectManager->accepted($this->user->id)->id;
         $response = $this->commentingService->reply($this->user->id, $project_id, $text, $comment);
         $this->sendResponse($response);
     } catch (Model\CommentingException $e) {
         Debugger::log($e);
     }
 }
示例#2
0
 function handleReply($text, $comment)
 {
     try {
         $response = $this->commentingService->reply($this->user->id, $this->getParameter('id'), $text, $comment);
         $this->sendResponse($response);
     } catch (CommentingException $e) {
         Debugger::log($e);
     }
 }