You are here

protected function MaestroInteractiveExampleTaskUninstallValidator::lazyLoadItself in Maestro 8.2

Same name and namespace in other branches
  1. 3.x modules/examples/maestro_interactive_task_plugin_example/src/ProxyClass/MaestroInteractiveExampleTaskUninstallValidator.php \Drupal\maestro_interactive_task_plugin_example\ProxyClass\MaestroInteractiveExampleTaskUninstallValidator::lazyLoadItself()

Lazy loads the real service from the container.

Return value

object Returns the constructed real service.

File

modules/examples/maestro_interactive_task_plugin_example/src/ProxyClass/MaestroInteractiveExampleTaskUninstallValidator.php, line 61

Class

MaestroInteractiveExampleTaskUninstallValidator
Provides a proxy class for \Drupal\maestro_interactive_task_plugin_example\MaestroInteractiveExampleTaskUninstallValidator.

Namespace

Drupal\maestro_interactive_task_plugin_example\ProxyClass

Code

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