handle(); } /** * @return array[] * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ #[RequestMapping(path: 'meal',methods: 'GET')] public function meal(): array { return (new MealListService)->handle(); } /** * @return array * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ #[RequestMapping(path: 'add_staple_food',methods: 'GET')] public function add_staple_food() { return (new AddStapleFoodInfoService)->handle(); } /** * @return array * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ #[RequestMapping(path: 'optional_info',methods: 'GET')] public function optionalInfo() { return (new OptionalInfoService)->handle(); } }