标签: api-platform.com
我正在尝试过滤在api平台中返回数组的组的值:
/ ** @Groups(“ examplegroup”)** / 公共函数getApiValue():array;
示例输出:
[“一个”:“ text1”,“两个”:“ text2”,“三个”,“ text3”]
我可以这样配置一个过滤器: ?apiValue = one
哪个将返回“ text1”?