You are here

protected function MaestroFormApprovalExampleUninstallValidator::lazyLoadItself in Maestro 8.2

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

Lazy loads the real service from the container.

Return value

object Returns the constructed real service.

File

modules/examples/maestro_form_approval_example/src/ProxyClass/MaestroFormApprovalExampleUninstallValidator.php, line 61

Class

MaestroFormApprovalExampleUninstallValidator
Provides a proxy class for \Drupal\maestro_form_approval_example\MaestroFormApprovalExampleUninstallValidator.

Namespace

Drupal\maestro_form_approval_example\ProxyClass

Code

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