You are here

protected function WebformNodeUninstallValidator::lazyLoadItself in Webform 6.x

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

Lazy loads the real service from the container.

Return value

object Returns the constructed real service.

File

modules/webform_node/src/ProxyClass/WebformNodeUninstallValidator.php, line 61

Class

WebformNodeUninstallValidator
Provides a proxy class for \Drupal\webform_node\WebformNodeUninstallValidator.

Namespace

Drupal\webform_node\ProxyClass

Code

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