title: Save a excel file in symfony 2.6
body: <p>Using <code>$this-&gt;render('Bundle:Controller:View', [$MyDoctrineQueryResult])</code> I have sent a doctrine query result to a twig view which creates a report. Now I have to give the client the option to export such report to Excel. I have the code to do such thing already working but I haven't find out a way to send the $MyDoctrineQueryResult array from the twig view to the controller that have the Export to Excel code. Please any help would be apreciated.</p>