diff --git a/core/filters.md b/core/filters.md index 499022ddad1..b603cde6368 100644 --- a/core/filters.md +++ b/core/filters.md @@ -199,6 +199,35 @@ This configuration allows clients to filter events by date ranges using queries - `/events?date[startDate][after]=2023-01-01` - `/events?date[endDate][before]=2023-12-31` +### Declaring Parameters on Properties + +You can also declare parameters directly on entity properties using `#[QueryParameter]` or +`#[HeaderParameter]` attributes. This keeps your parameter definition close to the property it +affects: + +```php +