Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Lock.php

function Lock::isAcquired

Overrides LockInterface::isAcquired

1 call to Lock::isAcquired()
Lock::__destruct in vendor/symfony/lock/Lock.php
Automatically releases the underlying lock when the object is destructed.

File

vendor/symfony/lock/Lock.php, line 209

Class

Lock
Lock is the default implementation of the LockInterface.

Namespace

Symfony\Component\Lock

Code

public function isAcquired() : bool {
    return $this->dirty = $this->store
        ->exists($this->key);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal