Switch to Doctrine APIBrowser Info Environment
Anyway when you have a chance, I would like you to consider restructuring all of your database calls to use Doctrine API.
Doctrine API is really built for how you want to built a query for all those complicated query that you are currently generating manually.
I can imagine that your PageList class would look much nicer.
And I'm sure it would make your life much easier.
Just a suggestion.
Please keep up with a good work!