You are here

protected function DataPolicyModuleInstaller::lazyLoadItself in Data Policy 8

Lazy loads the real service from the container.

Return value

object Returns the constructed real service.

File

src/ProxyClass/DataPolicyModuleInstaller.php, line 59

Class

DataPolicyModuleInstaller
Provides a proxy class for \Drupal\data_policy\DataPolicyModuleInstaller.

Namespace

Drupal\data_policy\ProxyClass

Code

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