You are here

protected function ImageEffectsUninstallValidator::lazyLoadItself in Image Effects 8.3

Same name and namespace in other branches
  1. 8 src/ProxyClass/ImageEffectsUninstallValidator.php \Drupal\image_effects\ProxyClass\ImageEffectsUninstallValidator::lazyLoadItself()
  2. 8.2 src/ProxyClass/ImageEffectsUninstallValidator.php \Drupal\image_effects\ProxyClass\ImageEffectsUninstallValidator::lazyLoadItself()

Lazy loads the real service from the container.

Return value

object Returns the constructed real service.

File

src/ProxyClass/ImageEffectsUninstallValidator.php, line 61

Class

ImageEffectsUninstallValidator
Provides a proxy class for \Drupal\image_effects\ImageEffectsUninstallValidator.

Namespace

Drupal\image_effects\ProxyClass

Code

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