if (!
isset($this->lazyObjectState
) || Registry::
$noInitializerState ===
$this->lazyObjectState->initializer
) { return false;
} unset($this->lazyObjectState->realInstance
);
return true;
} public function D
__get($name): mixed
{ $propertyScopes = Hydrator::
$propertyScopes[$this::
class] ??= Hydrator::
getPropertyScopes($this::
class);
$scope = null;
$instance =
$this;
if ([$class, ,
$readonlyScope] =
$propertyScopes[$name] ?? null
) { $scope = Registry::
getScope($propertyScopes,
$class,
$name);
if (null ===
$scope ||
isset($propertyScopes["\0
$scope\0
$name"
])) { if ($state =
$this->lazyObjectState ?? null
) { $instance =
$state->realInstance
??= ($state->initializer
)();
} $parent = 2;