$file = $container
->get("arodiss.xls.builder")
->createAndWrite(array(
array("row one field one", "row one field two"),
array("row two field one")
))
;
But there is no method createAndWrite() in XlsBuilder class. There is buildXlsFromArray() method.
PS thanks for you bundle. It simple to use and it works. Perfect for my project.
Return XLS file from Symfony controller
$file = $container ->get("arodiss.xls.builder") ->createAndWrite(array( array("row one field one", "row one field two"), array("row two field one") )) ;
But there is no method createAndWrite() in XlsBuilder class. There is buildXlsFromArray() method.
PS thanks for you bundle. It simple to use and it works. Perfect for my project.