diff --git a/docs/adr/0006-filters.md b/docs/adr/0006-filters.md index dacaf64b0bf..8cdbdab47bd 100644 --- a/docs/adr/0006-filters.md +++ b/docs/adr/0006-filters.md @@ -98,6 +98,8 @@ We need a way to instruct the program to parse query parameters and produce a li Some code/thoughts: +#[Parameter(key: 'search', filter: new SearchFilter(property: 'foo'))] + ```php // how to give uidfilter the paramters it should declare? // is it automatic if we find a property having the uid type? @@ -106,7 +108,7 @@ class Book { } -class Parameter { +class SearchParameter { mixed $value; ?string $property; ?string $class;