You are here

protected function DepthUninstallValidator::lazyLoadItself in Taxonomy Term Depth 8.2

Lazy loads the real service from the container.

Return value

object Returns the constructed real service.

File

src/ProxyClass/DepthUninstallValidator.php, line 62

Class

DepthUninstallValidator
Provides a proxy class for \Drupal\taxonomy_term_depth\DepthUninstallValidator.

Namespace

Drupal\taxonomy_term_depth\ProxyClass

Code

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