Skip to content
Browse files

Update README.md

Last line of usage example should call 'createStreamedResponse' on the Bundle Factory, not on the PHPExcel_Writer
  • Loading branch information...
1 parent 74b6833 commit ad599bc79a798450d46e971ec0e014e560ac835a @pauvos pauvos committed Jan 16, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -68,7 +68,7 @@ $writer->save('file.xls');
```php
$writer = $this->get('phpexcel')->createWriter($phpExcelObject, 'Excel5');
-$response = $writer->createStreamedResponse($writer);
+$response = $this->get('phpexcel')->createStreamedResponse($writer);
```
## Not Only 'Excel5'

0 comments on commit ad599bc

Please sign in to comment.
Something went wrong with that request. Please try again.