You are here

protected function UninstallValidator::lazyLoadItself in Lightning Media 8.3

Same name and namespace in other branches
  1. 8.4 modules/lightning_media_slideshow/src/ProxyClass/UninstallValidator.php \Drupal\lightning_media_slideshow\ProxyClass\UninstallValidator::lazyLoadItself()

Lazy loads the real service from the container.

Return value

object Returns the constructed real service.

File

modules/lightning_media_slideshow/src/ProxyClass/UninstallValidator.php, line 61

Class

UninstallValidator
Provides a proxy class for \Drupal\lightning_media_slideshow\UninstallValidator.

Namespace

Drupal\lightning_media_slideshow\ProxyClass

Code

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