Skip to content

Commit 0492299

Browse files
committed
Merge pull request #161 from blaues0cke/patch-1
Update filters.md
2 parents c7317cd + 3040eec commit 0492299

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Resources/doc/filters.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,5 +287,13 @@ services:
287287
tags: [ { name: "api.resource" } ]
288288
```
289289

290+
Beware: in [some cases](https://github.com/dunglas/DunglasApiBundle/issues/157#issuecomment-119576010) you may have to use double slashes in the class path to make it work:
291+
292+
```
293+
services:
294+
resource.offer.custom_order_filter:
295+
class: "AppBundle\\Filter\\CustomOrderFilter"
296+
```
297+
290298
Previous chapter: [Data providers](data-providers.md)<br>
291299
Next chapter: [Serialization groups and relations](serialization-groups-and-relations.md)

0 commit comments

Comments
 (0)