function CombinedStore::delete
Overrides PersistingStoreInterface::delete
3 calls to CombinedStore::delete()
- CombinedStore::putOffExpiration in vendor/
symfony/ lock/ Store/ CombinedStore.php - Extends the TTL of a resource.
- CombinedStore::save in vendor/
symfony/ lock/ Store/ CombinedStore.php - Stores the resource if it's not locked by someone else.
- CombinedStore::saveRead in vendor/
symfony/ lock/ Store/ CombinedStore.php - Stores the resource if it's not locked for reading by someone else.
File
-
vendor/
symfony/ lock/ Store/ CombinedStore.php, line 162
Class
- CombinedStore
- CombinedStore is a PersistingStoreInterface implementation able to manage and synchronize several StoreInterfaces.
Namespace
Symfony\Component\Lock\StoreCode
public function delete(Key $key) : void {
foreach ($this->stores as $store) {
try {
$store->delete($key);
} catch (\Exception $e) {
$this->logger?->notice('One store failed to delete the "{resource}" lock.', [
'resource' => $key,
'store' => $store,
'exception' => $e,
]);
}
}
}