Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LazyGhostTrait.php

function LazyGhostTrait::setLazyObjectAsInitialized

File

vendor/symfony/var-exporter/LazyGhostTrait.php, line 356

Class

LazyGhostTrait

Namespace

Symfony\Component\VarExporter

Code

private function setLazyObjectAsInitialized(bool $initialized) : void {
    if ($state = $this->lazyObjectState ?? null) {
        $state->status = $initialized ? LazyObjectState::STATUS_INITIALIZED_FULL : LazyObjectState::STATUS_UNINITIALIZED_FULL;
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal