ReflectionClass::getLazyInitializer
(PHP 8 >= 8.4.0)
ReflectionClass::getLazyInitializer — Gets lazy initializer
说明
Gets the lazy initializer or factory attached to
object
.
参数
object
- The object from which to get the initializer.
返回值
Returns the initializer if the object is an uninitialized lazy
object, null
otherwise.
参见
- Lazy objects
- ReflectionClass::newLazyGhost() - Creates a new lazy ghost instance
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/reflectionclass.getlazyinitializer.php