i'm not used to develop with Symfony, I retrieved an old project which has to be improved.
Here is my problem : In back-end, I have clients with several appointments (HasMany), or none. In front-end, from my rest api call, I receive the clients with appointments. No problem. But I would like to receive only appointments of today ("start" attribute in appointment model).
How can I apply that directly in back-end ? I know there are a lot of way to use symfony with Doctrine and annotations ... but can't find the right answer.
Thanks
Erm.. you select everything from your table with the today day nothing too fancy. :-) ex:
Of course this would need to be translated to doctrine but you have the above example to start.