/** * @Route("/clearTimeline") * @Method({"POST"}) */ public function clearTimeline(Request $request) { $req_arr = $request->request->all(); //$req_array = array( 'type' => 'questions', 'authorId' => 63 ); $result = $this->service->clearTimeline($req_arr); return $result; }