You are here

protected function LogFileManager::lazyLoadItself in File Log 8

Same name and namespace in other branches
  1. 2.0.x src/ProxyClass/LogFileManager.php \Drupal\filelog\ProxyClass\LogFileManager::lazyLoadItself()

Lazy loads the real service from the container.

Return value

object Returns the constructed real service.

File

src/ProxyClass/LogFileManager.php, line 58

Class

LogFileManager
Provides a proxy class for \Drupal\filelog\LogFileManager.

Namespace

Drupal\filelog\ProxyClass

Code

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