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

Breadcrumb

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

function Lock::getRemainingLifetime

Overrides LockInterface::getRemainingLifetime

File

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

Class

Lock
Lock is the default implementation of the LockInterface.

Namespace

Symfony\Component\Lock

Code

public function getRemainingLifetime() : ?float {
    return $this->key
        ->getRemainingLifetime();
}

API Navigation

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