草庐IT

nelmio-alice

全部标签

php - Nelmio Api Doc 中的组排除在更新 Composer 后不起作用

我将参数设置为数组,如http://jmsyst.com/libs/serializer/master/reference/annotations中所述classQuestionAnswer{/***@JMS\Type("ArrayCollection")*@Groups({"QuestionAnswer"})*/public$question_options_array;}并在另一个类中定义一些选项classQuestionOptions{/***@JMS\Type("integer")*@Groups({"get_option"})*/public$question_option_

php - Nelmio Api Doc 中的组排除在更新 Composer 后不起作用

我将参数设置为数组,如http://jmsyst.com/libs/serializer/master/reference/annotations中所述classQuestionAnswer{/***@JMS\Type("ArrayCollection")*@Groups({"QuestionAnswer"})*/public$question_options_array;}并在另一个类中定义一些选项classQuestionOptions{/***@JMS\Type("integer")*@Groups({"get_option"})*/public$question_option_
12