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: docs/guides/create-a-custom-doctrine-filter.php
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -13,15 +13,15 @@
13
13
//
14
14
// A Doctrine ORM filter has access to the `QueryBuilder` and the `QueryParameter` context.
15
15
//
16
-
// In this example, we create a `RegexpFilter` that applies a MySQL `REGEXP` condition. We map this filter to specific API parameters using the `#[QueryParameter]` attribute on our resource.
16
+
// In this example, we create a `MinLengthFilter` that filters resources where the length of a property is greater than or equal to a specific value. We map this filter to specific API parameters using the `#[QueryParameter]` attribute on our resource.
0 commit comments