You are here

protected function PersistentDatabaseLockBackend::lazyLoadItself in Drupal driver for SQL Server and SQL Azure 8.2

Lazy loads the real service from the container.

Return value

object Returns the constructed real service.

File

src/ProxyClass/Lock/PersistentDatabaseLockBackend.php, line 64
Contains \Drupal\sqlsrv\ProxyClass\Lock\PersistentCouchbaseLockBackend.

Class

PersistentDatabaseLockBackend
Provides a proxy class for \Drupal\couchbase\Lock\CouchbaseLockBackend.

Namespace

Drupal\sqlsrv\ProxyClass\Lock

Code

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