From bfe428bc62aa7dc6ee2985b66a05d7f486b610bf Mon Sep 17 00:00:00 2001 From: Antoine Bluchet Date: Thu, 18 Jan 2024 23:27:26 +0100 Subject: [PATCH] Update 0006-filters.md --- docs/adr/0006-filters.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;