/** * @Route("/get_daystory", requirements={"postId" = "\d+"}) * @Method({"GET"}) */ public function getStoryOfTheDayAction() { $result = $this->service->getStoryOfTheDay(); return $result; }