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

Breadcrumb

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

function DoctrineDbalStore::delete

Overrides PersistingStoreInterface::delete

File

vendor/symfony/lock/Store/DoctrineDbalStore.php, line 163

Class

DoctrineDbalStore
DbalStore is a PersistingStoreInterface implementation using a Doctrine DBAL connection.

Namespace

Symfony\Component\Lock\Store

Code

public function delete(Key $key) : void {
    $this->conn
        ->delete($this->table, [
        $this->idCol => $this->getHashedKey($key),
        $this->tokenCol => $this->getUniqueToken($key),
    ]);
}

API Navigation

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