Skip to content

[VarExporter] Allow reinitializing lazy objects with a new initializer #58129

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

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Aug 30, 2024

Q A
Branch? 7.2
Bug fix? no
New feature? yes
Deprecations? no
Issues -
License MIT

Being able to call createLazyGhost/Proxy on an existing lazy object is a capability that PHP 8.4 will provide thanks to https://wiki.php.net/rfc/lazy-objects, and that zenstruck/foundry desires also to implement refreshable fixtures. /cc @kbond @nikophil

@nicolas-grekas nicolas-grekas force-pushed the ve-reset-lazy branch 2 times, most recently from 2e478e3 to a6da075 Compare August 30, 2024 10:28
@nicolas-grekas nicolas-grekas merged commit b455a5e into symfony:7.2 Aug 30, 2024
9 of 10 checks passed
@nicolas-grekas nicolas-grekas deleted the ve-reset-lazy branch September 6, 2024 09:17
@fabpot fabpot mentioned this pull request Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants