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

Question 🙋 : differences to VarExporter from Symfony? #15

Closed
voku opened this issue Jul 10, 2020 · 2 comments
Closed

Question 🙋 : differences to VarExporter from Symfony? #15

voku opened this issue Jul 10, 2020 · 2 comments

Comments

@voku
Copy link

voku commented Jul 10, 2020

https://github.com/symfony/var-exporter

@bcremer
Copy link

bcremer commented Jul 10, 2020

One difference I can tell on the spot is the support for exporting closures.
I used that feature to add support for exporting closures into the cache config file for Laminas/Mezzio projects.

@BenMorel
Copy link
Member

Hi, the main difference is that Symfony’s VarExporter creates PHP files that have a dependency on the VarExporter component, whereas brick/varexporter creates standalone PHP code, that does not depend on the library and may execute without it!

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

3 participants