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
publicreadonly Closure|array $initializer
public object $realInstance
publicreadonly array $skippedProperties
 
  • var array<string,true>
public int $status = 0
 
  • var self::STATUS_*
Methods
public __construct(Closure|array $initializer, $skippedProperties = [])
public initialize( $instance, $propertyName, $propertyScope)
public reset( $instance) : void
© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration