function DatabaseTableTrait::getHashedKey
Returns a hashed version of the key.
8 calls to DatabaseTableTrait::getHashedKey()
- DoctrineDbalStore::delete in vendor/
symfony/ lock/ Store/ DoctrineDbalStore.php - Removes a resource from the storage.
- DoctrineDbalStore::exists in vendor/
symfony/ lock/ Store/ DoctrineDbalStore.php - Returns whether or not the resource exists in the storage.
- DoctrineDbalStore::putOffExpiration in vendor/
symfony/ lock/ Store/ DoctrineDbalStore.php - Extends the TTL of a resource.
- DoctrineDbalStore::save in vendor/
symfony/ lock/ Store/ DoctrineDbalStore.php - Stores the resource if it's not locked by someone else.
- PdoStore::delete in vendor/
symfony/ lock/ Store/ PdoStore.php - Removes a resource from the storage.
File
-
vendor/
symfony/ lock/ Store/ DatabaseTableTrait.php, line 51
Class
- DatabaseTableTrait
- @internal
Namespace
Symfony\Component\Lock\StoreCode
private function getHashedKey(Key $key) : string {
return hash('sha256', (string) $key);
}