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 __unset( $name) : void
public static createLazyGhost(Closure $initializer, ?array $skippedProperties = NULL, ?object $instance = NULL) : static
public initializeLazyObject() : static
 

Forces initialization of a lazy object and returns it.

public isLazyObjectInitialized(bool $partial = false) : bool
 

Returns whether the object is initialized.

  • param $partial Whether partially initialized objects should be considered as initialized
public resetLazyObject() : bool
 
  • return bool Returns false when the object cannot be reset, ie when it's not a lazy object
Properties
privatereadonly Symfony\Component\VarExporter\Internal\LazyObjectState $lazyObjectState
Methods
private setLazyObjectAsInitialized(bool $initialized) : void
Methods
public static createLazyGhost(Closure $initializer, ?array $skippedProperties = NULL, ?object $instance = NULL) : static
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration