@@ -65,144 +65,168 @@ public function testGetDescription()
65
65
'type ' => 'int ' ,
66
66
'required ' => false ,
67
67
'strategy ' => 'exact ' ,
68
+ 'is_collection ' => false ,
68
69
],
69
70
'id[] ' => [
70
71
'property ' => 'id ' ,
71
72
'type ' => 'int ' ,
72
73
'required ' => false ,
73
74
'strategy ' => 'exact ' ,
75
+ 'is_collection ' => true ,
74
76
],
75
77
'name ' => [
76
78
'property ' => 'name ' ,
77
79
'type ' => 'string ' ,
78
80
'required ' => false ,
79
81
'strategy ' => 'exact ' ,
82
+ 'is_collection ' => false ,
80
83
],
81
84
'name[] ' => [
82
85
'property ' => 'name ' ,
83
86
'type ' => 'string ' ,
84
87
'required ' => false ,
85
88
'strategy ' => 'exact ' ,
89
+ 'is_collection ' => true ,
86
90
],
87
91
'alias ' => [
88
92
'property ' => 'alias ' ,
89
93
'type ' => 'string ' ,
90
94
'required ' => false ,
91
95
'strategy ' => 'exact ' ,
96
+ 'is_collection ' => false ,
92
97
],
93
98
'alias[] ' => [
94
99
'property ' => 'alias ' ,
95
100
'type ' => 'string ' ,
96
101
'required ' => false ,
97
102
'strategy ' => 'exact ' ,
103
+ 'is_collection ' => true ,
98
104
],
99
105
'description ' => [
100
106
'property ' => 'description ' ,
101
107
'type ' => 'string ' ,
102
108
'required ' => false ,
103
109
'strategy ' => 'exact ' ,
110
+ 'is_collection ' => false ,
104
111
],
105
112
'description[] ' => [
106
113
'property ' => 'description ' ,
107
114
'type ' => 'string ' ,
108
115
'required ' => false ,
109
116
'strategy ' => 'exact ' ,
117
+ 'is_collection ' => true ,
110
118
],
111
119
'dummy ' => [
112
120
'property ' => 'dummy ' ,
113
121
'type ' => 'string ' ,
114
122
'required ' => false ,
115
123
'strategy ' => 'exact ' ,
124
+ 'is_collection ' => false ,
116
125
],
117
126
'dummy[] ' => [
118
127
'property ' => 'dummy ' ,
119
128
'type ' => 'string ' ,
120
129
'required ' => false ,
121
130
'strategy ' => 'exact ' ,
131
+ 'is_collection ' => true ,
122
132
],
123
133
'dummyDate ' => [
124
134
'property ' => 'dummyDate ' ,
125
135
'type ' => 'DateTimeInterface ' ,
126
136
'required ' => false ,
127
137
'strategy ' => 'exact ' ,
138
+ 'is_collection ' => false ,
128
139
],
129
140
'dummyDate[] ' => [
130
141
'property ' => 'dummyDate ' ,
131
142
'type ' => 'DateTimeInterface ' ,
132
143
'required ' => false ,
133
144
'strategy ' => 'exact ' ,
145
+ 'is_collection ' => true ,
134
146
],
135
147
'dummyFloat ' => [
136
148
'property ' => 'dummyFloat ' ,
137
149
'type ' => 'float ' ,
138
150
'required ' => false ,
139
151
'strategy ' => 'exact ' ,
152
+ 'is_collection ' => false ,
140
153
],
141
154
'dummyFloat[] ' => [
142
155
'property ' => 'dummyFloat ' ,
143
156
'type ' => 'float ' ,
144
157
'required ' => false ,
145
158
'strategy ' => 'exact ' ,
159
+ 'is_collection ' => true ,
146
160
],
147
161
'dummyPrice ' => [
148
162
'property ' => 'dummyPrice ' ,
149
163
'type ' => 'string ' ,
150
164
'required ' => false ,
151
165
'strategy ' => 'exact ' ,
166
+ 'is_collection ' => false ,
152
167
],
153
168
'dummyPrice[] ' => [
154
169
'property ' => 'dummyPrice ' ,
155
170
'type ' => 'string ' ,
156
171
'required ' => false ,
157
172
'strategy ' => 'exact ' ,
173
+ 'is_collection ' => true ,
158
174
],
159
175
'jsonData ' => [
160
176
'property ' => 'jsonData ' ,
161
177
'type ' => 'string ' ,
162
178
'required ' => false ,
163
179
'strategy ' => 'exact ' ,
180
+ 'is_collection ' => false ,
164
181
],
165
182
'jsonData[] ' => [
166
183
'property ' => 'jsonData ' ,
167
184
'type ' => 'string ' ,
168
185
'required ' => false ,
169
186
'strategy ' => 'exact ' ,
187
+ 'is_collection ' => true ,
170
188
],
171
189
'arrayData ' => [
172
190
'property ' => 'arrayData ' ,
173
191
'type ' => 'string ' ,
174
192
'required ' => false ,
175
193
'strategy ' => 'exact ' ,
194
+ 'is_collection ' => false ,
176
195
],
177
196
'arrayData[] ' => [
178
197
'property ' => 'arrayData ' ,
179
198
'type ' => 'string ' ,
180
199
'required ' => false ,
181
200
'strategy ' => 'exact ' ,
201
+ 'is_collection ' => true ,
182
202
],
183
203
'nameConverted ' => [
184
204
'property ' => 'nameConverted ' ,
185
205
'type ' => 'string ' ,
186
206
'required ' => false ,
187
207
'strategy ' => 'exact ' ,
208
+ 'is_collection ' => false ,
188
209
],
189
210
'nameConverted[] ' => [
190
211
'property ' => 'nameConverted ' ,
191
212
'type ' => 'string ' ,
192
213
'required ' => false ,
193
214
'strategy ' => 'exact ' ,
215
+ 'is_collection ' => true ,
194
216
],
195
217
'dummyBoolean ' => [
196
218
'property ' => 'dummyBoolean ' ,
197
219
'type ' => 'bool ' ,
198
220
'required ' => false ,
199
221
'strategy ' => 'exact ' ,
222
+ 'is_collection ' => false ,
200
223
],
201
224
'dummyBoolean[] ' => [
202
225
'property ' => 'dummyBoolean ' ,
203
226
'type ' => 'bool ' ,
204
227
'required ' => false ,
205
228
'strategy ' => 'exact ' ,
229
+ 'is_collection ' => true ,
206
230
],
207
231
], $ filter ->getDescription ($ this ->resourceClass ));
208
232
@@ -226,120 +250,140 @@ public function testGetDescription()
226
250
'type ' => 'int ' ,
227
251
'required ' => false ,
228
252
'strategy ' => 'exact ' ,
253
+ 'is_collection ' => false ,
229
254
],
230
255
'id[] ' => [
231
256
'property ' => 'id ' ,
232
257
'type ' => 'int ' ,
233
258
'required ' => false ,
234
259
'strategy ' => 'exact ' ,
260
+ 'is_collection ' => true ,
235
261
],
236
262
'name ' => [
237
263
'property ' => 'name ' ,
238
264
'type ' => 'string ' ,
239
265
'required ' => false ,
240
266
'strategy ' => 'exact ' ,
267
+ 'is_collection ' => false ,
241
268
],
242
269
'name[] ' => [
243
270
'property ' => 'name ' ,
244
271
'type ' => 'string ' ,
245
272
'required ' => false ,
246
273
'strategy ' => 'exact ' ,
274
+ 'is_collection ' => true ,
247
275
],
248
276
'alias ' => [
249
277
'property ' => 'alias ' ,
250
278
'type ' => 'string ' ,
251
279
'required ' => false ,
252
280
'strategy ' => 'exact ' ,
281
+ 'is_collection ' => false ,
253
282
],
254
283
'alias[] ' => [
255
284
'property ' => 'alias ' ,
256
285
'type ' => 'string ' ,
257
286
'required ' => false ,
258
287
'strategy ' => 'exact ' ,
288
+ 'is_collection ' => true ,
259
289
],
260
290
'dummy ' => [
261
291
'property ' => 'dummy ' ,
262
292
'type ' => 'string ' ,
263
293
'required ' => false ,
264
294
'strategy ' => 'exact ' ,
295
+ 'is_collection ' => false ,
265
296
],
266
297
'dummy[] ' => [
267
298
'property ' => 'dummy ' ,
268
299
'type ' => 'string ' ,
269
300
'required ' => false ,
270
301
'strategy ' => 'exact ' ,
302
+ 'is_collection ' => true ,
271
303
],
272
304
'dummyDate ' => [
273
305
'property ' => 'dummyDate ' ,
274
306
'type ' => 'DateTimeInterface ' ,
275
307
'required ' => false ,
276
308
'strategy ' => 'exact ' ,
309
+ 'is_collection ' => false ,
277
310
],
278
311
'dummyDate[] ' => [
279
312
'property ' => 'dummyDate ' ,
280
313
'type ' => 'DateTimeInterface ' ,
281
314
'required ' => false ,
282
315
'strategy ' => 'exact ' ,
316
+ 'is_collection ' => true ,
283
317
],
284
318
'jsonData ' => [
285
319
'property ' => 'jsonData ' ,
286
320
'type ' => 'string ' ,
287
321
'required ' => false ,
288
322
'strategy ' => 'exact ' ,
323
+ 'is_collection ' => false ,
289
324
],
290
325
'jsonData[] ' => [
291
326
'property ' => 'jsonData ' ,
292
327
'type ' => 'string ' ,
293
328
'required ' => false ,
294
329
'strategy ' => 'exact ' ,
330
+ 'is_collection ' => true ,
295
331
],
296
332
'arrayData ' => [
297
333
'property ' => 'arrayData ' ,
298
334
'type ' => 'string ' ,
299
335
'required ' => false ,
300
336
'strategy ' => 'exact ' ,
337
+ 'is_collection ' => false ,
301
338
],
302
339
'arrayData[] ' => [
303
340
'property ' => 'arrayData ' ,
304
341
'type ' => 'string ' ,
305
342
'required ' => false ,
306
343
'strategy ' => 'exact ' ,
344
+ 'is_collection ' => true ,
307
345
],
308
346
'nameConverted ' => [
309
347
'property ' => 'nameConverted ' ,
310
348
'type ' => 'string ' ,
311
349
'required ' => false ,
312
350
'strategy ' => 'exact ' ,
351
+ 'is_collection ' => false ,
313
352
],
314
353
'nameConverted[] ' => [
315
354
'property ' => 'nameConverted ' ,
316
355
'type ' => 'string ' ,
317
356
'required ' => false ,
318
357
'strategy ' => 'exact ' ,
358
+ 'is_collection ' => true ,
319
359
],
320
360
'relatedDummies.dummyDate ' => [
321
361
'property ' => 'relatedDummies.dummyDate ' ,
322
362
'type ' => 'DateTimeInterface ' ,
323
363
'required ' => false ,
324
364
'strategy ' => 'exact ' ,
365
+ 'is_collection ' => false ,
325
366
],
326
367
'relatedDummies.dummyDate[] ' => [
327
368
'property ' => 'relatedDummies.dummyDate ' ,
328
369
'type ' => 'DateTimeInterface ' ,
329
370
'required ' => false ,
330
371
'strategy ' => 'exact ' ,
372
+ 'is_collection ' => true ,
331
373
],
332
374
'relatedDummy ' => [
333
375
'property ' => 'relatedDummy ' ,
334
376
'type ' => 'string ' ,
335
377
'required ' => false ,
336
378
'strategy ' => 'exact ' ,
379
+ 'is_collection ' => false ,
337
380
],
338
381
'relatedDummy[] ' => [
339
382
'property ' => 'relatedDummy ' ,
340
383
'type ' => 'string ' ,
341
384
'required ' => false ,
342
385
'strategy ' => 'exact ' ,
386
+ 'is_collection ' => true ,
343
387
],
344
388
], $ filter ->getDescription ($ this ->resourceClass ));
345
389
}
0 commit comments