You are here

protected function ContactFormRevisionsConverter::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/contact_form_revisions/src/ProxyClass/ParamConverter/ContactFormRevisionsConverter.php, line 61

Class

ContactFormRevisionsConverter
Provides a proxy class for \Drupal\contact_form_revisions\ParamConverter\ContactFormRevisionsConverter.

Namespace

Drupal\contact_form_revisions\ProxyClass\ParamConverter

Code

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