Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use streams in export #87

Open
JarekW opened this issue Jul 17, 2017 · 0 comments
Open

Use streams in export #87

JarekW opened this issue Jul 17, 2017 · 0 comments

Comments

@JarekW
Copy link
Contributor

JarekW commented Jul 17, 2017

Exporters now writes complete ouput of export to variable. Either by php://output with ob_get_clean() or php://temp with stream_get_contents(). Then they call setContent on Response.

Check if it's possible to just write CSV and Excell directry to php:://output in overriden sendContent method of Symfony\Component\HttpFoundation\Response. This need also to throw exception in setContent as BinaryFileResponse do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant