-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[VarExporter] Add Hydrator::hydrate() and preserve PHP references when using it #46452
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
Conversation
1635c65
to
1540977
Compare
1540977
to
4b2a625
Compare
Does the psalm failure make sense to anyone? |
This error is because Psalm sees the returned value as being of type |
a7fe0e4
to
ef25192
Compare
/cc @symfony/mergers this PR is ready and blocking #46458 if you have some time for a review 🙏 |
ef25192
to
e1a8502
Compare
Why does Carson bot changed the title? This is wrong to me |
Carson listens to "updates" on the PR. It names the title according to the (grey) labels. When this PR was merged, Nicolas did a push ("update"). |
Labels updated |
To make it easy to hydrate already created objects (usually created without calling the constructor.)
Hydrator::hydrate()
Hydrator::hydrate()
orInstantiator::instantiate()