You are here

protected function SupportTicketPreviewConverter::lazyLoadItself in Support Ticketing System 8

Lazy loads the real service from the container.

Return value

object Returns the constructed real service.

File

modules/support_ticket/src/ProxyClass/ParamConverter/SupportTicketPreviewConverter.php, line 65
Contains \Drupal\support_ticket\ProxyClass\ParamConverter\SupportTicketPreviewConverter.

Class

SupportTicketPreviewConverter
Provides a proxy class for \Drupal\support_ticket\ParamConverter\SupportTicketPreviewConverter.

Namespace

Drupal\support_ticket\ProxyClass\ParamConverter

Code

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