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

Breadcrumb

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

function PostgreSqlStore::getHashedKey

Returns a hashed version of the key.

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

... See full list

File

vendor/symfony/lock/Store/PostgreSqlStore.php, line 232

Class

PostgreSqlStore
PostgreSqlStore is a PersistingStoreInterface implementation using PostgreSql advisory locks.

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