Skip to content

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Feb 7, 2023

Q A
Branch? 6.2
Bug fix? yes
New feature? no
Deprecations? n
Tickets -
License MIT
Doc PR -

Now that https://wiki.php.net/rfc/readonly_amendments has been accepted, I figured out the design of LazyProxyTrait needs some tweaks to support readonly classes.

This basically move the LazyProxyTrait::$lazyObjectReal property to LazyObjectState::$realInstance.

@carsonbot carsonbot added this to the 6.2 milestone Feb 7, 2023
@nicolas-grekas nicolas-grekas force-pushed the ve-readonly-proxy branch 3 times, most recently from 849bd8a to a26eb01 Compare February 7, 2023 15:21
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.

2 participants