You are here

protected function MenuItemExtrasUninstallValidator::lazyLoadItself in Menu Item Extras 8.2

Lazy loads the real service from the container.

Return value

object Returns the constructed real service.

File

src/ProxyClass/MenuItemExtrasUninstallValidator.php, line 65

Class

MenuItemExtrasUninstallValidator
Provides a proxy class for \Drupal\menu_item_extras\MenuItemExtrasUninstallValidator.

Namespace

Drupal\menu_item_extras\ProxyClass

Code

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