protected function MaestroNonInteractiveExampleTaskUninstallValidator::lazyLoadItself in Maestro 8.2
Same name and namespace in other branches
- 3.x modules/examples/maestro_noninteractive_task_plugin_example/src/ProxyClass/MaestroNonInteractiveExampleTaskUninstallValidator.php \Drupal\maestro_noninteractive_task_plugin_example\ProxyClass\MaestroNonInteractiveExampleTaskUninstallValidator::lazyLoadItself()
Lazy loads the real service from the container.
Return value
object Returns the constructed real service.
File
- modules/
examples/ maestro_noninteractive_task_plugin_example/ src/ ProxyClass/ MaestroNonInteractiveExampleTaskUninstallValidator.php, line 61
Class
- MaestroNonInteractiveExampleTaskUninstallValidator
- Provides a proxy class for \Drupal\maestro_noninteractive_task_plugin_example\MaestroNonInteractiveExampleTaskUninstallValidator.
Namespace
Drupal\maestro_noninteractive_task_plugin_example\ProxyClassCode
protected function lazyLoadItself() {
if (!isset($this->service)) {
$this->service = $this->container
->get($this->drupalProxyOriginalServiceId);
}
return $this->service;
}