Copied!

Keeps the state of lazy objects.

As a micro-optimization, this class uses no type declarations.

  • internal
CloneableInstantiable
Constants
public Symfony\Component\VarExporter\Internal\LazyObjectState::STATUS_INITIALIZED_FULL = 3
public Symfony\Component\VarExporter\Internal\LazyObjectState::STATUS_INITIALIZED_PARTIAL = 4
public Symfony\Component\VarExporter\Internal\LazyObjectState::STATUS_UNINITIALIZED_FULL = 1
public Symfony\Component\VarExporter\Internal\LazyObjectState::STATUS_UNINITIALIZED_PARTIAL = 2
Properties
public object $cloneInstance
public ?Closure $initializer
public object $realInstance
public array $skippedProperties
public int $status = 1
 
  • var self::STATUS_*
Methods
public __clone()
public __construct(?Closure $initializer = NULL, array $skippedProperties = [])
 
  • param array<string,true> $skippedProperties
public __get( $name)
public initialize( $instance, $propertyName, $writeScope)
public reset( $instance) : void
© 2025 Bruce Wells