I am trying to send var to view from event listener in symfony2 but I am stacked. 

1) Is this possible?

2) What kernel event to use (kernel.view or kernel.request)?

3) Finally how to send some var to view?

My best guess is that I have to extend return from controller and then to let controller do his job.

I need to send some array of objects (entities).