protected function MaestroInteractiveExampleTaskUninstallValidator::lazyLoadItself in Maestro 3.x
Same name and namespace in other branches
- 8.2 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\ProxyClassCode
protected function lazyLoadItself() {
if (!isset($this->service)) {
$this->service = $this->container
->get($this->drupalProxyOriginalServiceId);
}
return $this->service;
}