ReflectionClass::getLazyInitializer
(PHP 8 >= 8.4.0)
ReflectionClass::getLazyInitializer — Gets lazy initializer
Description
Gets the lazy initializer or factory attached to
object.
Parameters
object
The object from which to get the initializer.
Return Values
Returns the initializer if the object is an uninitialized lazy
object, null otherwise.
See Also
- Lazy objects
- ReflectionClass::newLazyGhost() - Creates a new lazy ghost instance
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
