You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/filters.md
+3-23Lines changed: 3 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -929,7 +929,7 @@ class Offer
929
929
}
930
930
```
931
931
932
-
Or by using the `ApiFilter` annotation:
932
+
Or by using the `ApiFilter` annotation
933
933
934
934
```php
935
935
<?php
@@ -950,29 +950,9 @@ class Offer
950
950
// ...
951
951
}
952
952
```
953
+
When using `ApiFilter` annotation, the declared properties in the `services.yaml` will not be taken into account. You have to use the `ApiFilter` way (see the [documentation](#apifilter-annotation))
953
954
954
-
When using `ApiFilter` annotation, you can specify specific properties for which the filter will be applied:
0 commit comments