public function __destruct() { $state =
$this->lazyObjectState ?? null;
if ($state && \
in_array($state->status,
[LazyObjectState::STATUS_UNINITIALIZED_FULL, LazyObjectState::STATUS_UNINITIALIZED_PARTIAL
], true
)) { return;
} if ((Registry::
$parentMethods[self::
class] ??= Registry::
getParentMethods(self::
class))['destruct'
]) { parent::
__destruct();
} } private function setLazyObjectAsInitialized(bool
$initialized): void
{ $state =
$this->lazyObjectState ?? null;
if ($state && !\
is_array($state->initializer
)) { $state->status =
$initialized ? LazyObjectState::STATUS_INITIALIZED_FULL : LazyObjectState::STATUS_UNINITIALIZED_FULL;
} }}