Copied!
Trait
Methods
public __clone() : void
public __destruct()
public __get( $name) : ?mixed
public __isset( $name) : bool
public __serialize() : array
public __set( $name, $value) : void
public __unserialize(array $data) : void
public __unset( $name) : void
public static createLazyProxy(Closure $initializer, ?object $instance = NULL) : static
 

Creates a lazy-loading virtual proxy.

  • param callable $initializer Returns the proxied object
  • param static|null $instance
public initializeLazyObject() : parent
 

Forces initialization of a lazy object and returns it.

public isLazyObjectInitialized(bool $partial = false) : bool
 

Returns whether the object is initialized.

public resetLazyObject() : bool
 
  • return bool Returns false when the object cannot be reset, ie when it's not a lazy object
Properties
private readonly Symfony\Component\VarExporter\Internal\LazyObjectState $lazyObjectState
Methods
public static createLazyProxy(Closure $initializer, ?object $instance = NULL) : static
 

Creates a lazy-loading virtual proxy.

  • param callable $initializer Returns the proxied object
  • param static|null $instance
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration