PHP 8.6.0 Beta 1 is available for testing

ReflectionClass::getLazyInitializer

(PHP 8 >= 8.4.0)

ReflectionClass::getLazyInitializerDevuelve el inicializador perezoso

Descripción

public function ReflectionClass::getLazyInitializer(object $object): ? callable

Devuelve el inicializador perezoso o la fábrica asociada a object.

Parámetros

object
El objeto a partir del cual obtener el inicializador.

Valores devueltos

Devuelve el inicializador si el objeto es un objeto perezoso no inicializado, null en caso contrario.

Véase también

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /