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

Breadcrumb

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

function DoctrineDbalPostgreSqlStore::getHashedKey

Returns a hashed version of the key.

7 calls to DoctrineDbalPostgreSqlStore::getHashedKey()
DoctrineDbalPostgreSqlStore::exists in vendor/symfony/lock/Store/DoctrineDbalPostgreSqlStore.php
Returns whether or not the resource exists in the storage.
DoctrineDbalPostgreSqlStore::save in vendor/symfony/lock/Store/DoctrineDbalPostgreSqlStore.php
Stores the resource if it's not locked by someone else.
DoctrineDbalPostgreSqlStore::saveRead in vendor/symfony/lock/Store/DoctrineDbalPostgreSqlStore.php
Stores the resource if it's not locked for reading by someone else.
DoctrineDbalPostgreSqlStore::unlock in vendor/symfony/lock/Store/DoctrineDbalPostgreSqlStore.php
DoctrineDbalPostgreSqlStore::unlockShared in vendor/symfony/lock/Store/DoctrineDbalPostgreSqlStore.php

... See full list

File

vendor/symfony/lock/Store/DoctrineDbalPostgreSqlStore.php, line 233

Class

DoctrineDbalPostgreSqlStore
DoctrineDbalPostgreSqlStore is a PersistingStoreInterface implementation using PostgreSql advisory locks with a Doctrine DBAL Connection.

Namespace

Symfony\Component\Lock\Store

Code

private function getHashedKey(Key $key) : int {
    return crc32((string) $key);
}

API Navigation

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