When working with QueryType as a service, it's impossible to inject anything into this service using constructor or setter (Symfony `caller` method).
I was trying to create a new QueryType as a service on ezplatform-demo to use it for displaying blog posts on Top Stories section.
I was trying to inject languages array via Symfony caller method:
Unfortunately setLanguages method is never fired.
Same for passing variables via constructor - it doesn't work.