function PersistentDatabaseLockBackend::wait

Same name in other branches
  1. 9 core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php \Drupal\Core\ProxyClass\Lock\PersistentDatabaseLockBackend::wait()
  2. 8.9.x core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php \Drupal\Core\ProxyClass\Lock\PersistentDatabaseLockBackend::wait()
  3. 11.x core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php \Drupal\Core\ProxyClass\Lock\PersistentDatabaseLockBackend::wait()

Overrides LockBackendInterface::wait

File

core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php, line 113

Class

PersistentDatabaseLockBackend
Provides a proxy class for \Drupal\Core\Lock\PersistentDatabaseLockBackend.

Namespace

Drupal\Core\ProxyClass\Lock

Code

public function wait($name, $delay = 30) {
    return $this->lazyLoadItself()
        ->wait($name, $delay);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.