PHP - Manual: ReflectionClass::getLazyInitializer
2025-02-27
(PHP 8 >= 8.4.0)
ReflectionClass::getLazyInitializer — Gets lazy initializer
Gets the lazy initializer or factory attached to
object
.
object
Returns the initializer if the object is an uninitialized lazy
object, null
otherwise.
官方地址:https://www.php.net/manual/en/reflectionclass.getlazyinitializer.php