Skip to content

Types in lazy objects#11296

Merged
danog merged 1 commit intovimeo:6.xfrom
BenMorel:lazy
Feb 17, 2025
Merged

Types in lazy objects#11296
danog merged 1 commit intovimeo:6.xfrom
BenMorel:lazy

Conversation

@BenMorel
Copy link
Contributor

This adds type checks and inference for reflection of lazy objects introduced in PHP 8.4:

  • ReflectionClass::initializeLazyObject()
  • ReflectionClass::markLazyObjectAsInitialized()
  • ReflectionClass::getLazyInitializer()
  • ReflectionClass::isUninitializedLazyObject()
  • ReflectionClass::newLazyGhost()
  • ReflectionClass::newLazyProxy()
  • ReflectionClass::resetAsLazyGhost()
  • ReflectionClass::resetAsLazyProxy()

@danog danog added the release:feature The PR will be included in 'Features' section of the release notes label Feb 17, 2025
@danog
Copy link
Collaborator

danog commented Feb 17, 2025

Thanks!

@danog danog merged commit 315b2b0 into vimeo:6.x Feb 17, 2025
50 of 52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:feature The PR will be included in 'Features' section of the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants