Php – How to map a date from a query string?
I have a symfony API endpoint that goes like this: /orders/list-all?since=2024-10-21 I'd like to map that query string parameter to a DateTimeImmutable (or DateTimeInterface), like so: public function listOrders( #[OAQueryParameter(name: 'since', in: 'query', description: 'Date de début de la recherche',…