Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be39a09 commit 04525d3Copy full SHA for 04525d3
src/Symfony/Component/VarExporter/LazyGhostTrait.php
@@ -379,4 +379,13 @@ public function __destruct()
379
parent::__destruct();
380
}
381
382
+
383
+ private function setLazyObjectAsInitialized(bool $initialized): void
384
+ {
385
+ $state = $this->lazyObjectState ?? null;
386
387
+ if ($state && !\is_array($state->initializer)) {
388
+ $state->status = $initialized ? LazyObjectState::STATUS_INITIALIZED_FULL : LazyObjectState::STATUS_UNINITIALIZED_FULL;
389
+ }
390
391
0 commit comments