You are here

protected function ViewRevisionsConverter::lazyLoadItself in Config Entity Revisions 8.2

Lazy loads the real service from the container.

Return value

object Returns the constructed real service.

File

modules/view_revisions/src/ProxyClass/ParamConverter/ViewRevisionsConverter.php, line 61

Class

ViewRevisionsConverter
Provides a proxy class for \Drupal\view_revisions\ParamConverter\ViewRevisionsConverter.

Namespace

Drupal\view_revisions\ProxyClass\ParamConverter

Code

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