You are here

protected function BootstrapLayoutsUninstallValidator::lazyLoadItself in Bootstrap Layouts 8.4

Same name and namespace in other branches
  1. 8.5 src/ProxyClass/BootstrapLayoutsUninstallValidator.php \Drupal\bootstrap_layouts\ProxyClass\BootstrapLayoutsUninstallValidator::lazyLoadItself()

Lazy loads the real service from the container.

Return value

object Returns the constructed real service.

File

src/ProxyClass/BootstrapLayoutsUninstallValidator.php, line 61

Class

BootstrapLayoutsUninstallValidator
Provides a proxy class for \Drupal\bootstrap_layouts\BootstrapLayoutsUninstallValidator.

Namespace

Drupal\bootstrap_layouts\ProxyClass

Code

protected function lazyLoadItself() {
  if (!isset($this->service)) {
    $this->service = $this->container
      ->get($this->drupalProxyOriginalServiceId);
  }
  return $this->service;
}