コード例 #1
0
ファイル: AuthorController.php プロジェクト: yasoon/yasoon
 /**
  * @Route("/get_questions_stack/{authorId}", requirements={"authorId" = "\d+"})
  * @Method({"POST"})
  */
 public function getQuestionsStackAction(Request $request)
 {
     $authorId = $request->attributes->get('authorId');
     $offset = $request->request->get('offset');
     $result = $this->service->getQuestionsStack($authorId, $offset);
     return $result;
 }