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