Home
last modified time | relevance | path

Searched refs:setIfNotExists (Results 1 – 21 of 21) sorted by relevance

/dports/www/drupal8/drupal-8.9.20/core/lib/Drupal/Core/TempStore/
H A DSharedTempStore.php147 public function setIfNotExists($key, $value) { function in Drupal\\Core\\TempStore\\SharedTempStore
175 if ($this->setIfNotExists($key, $value)) {
/dports/www/drupal8/drupal-8.9.20/core/tests/Drupal/KernelTests/Core/TempStore/
H A DTempStoreDatabaseTest.php87 $this->assertEqual(!$i, $stores[0]->setIfNotExists($key, $this->objects[$i]));
99 $stores[0]->setIfNotExists($key, $this->objects[1]);
/dports/www/drupal8/drupal-8.9.20/core/modules/user/tests/src/Kernel/
H A DTempStoreDatabaseTest.php96 $this->assertEqual(!$i, $stores[0]->setIfNotExists($key, $this->objects[$i]));
108 $stores[0]->setIfNotExists($key, $this->objects[1]);
/dports/www/drupal9/drupal-9.2.10/core/tests/Drupal/KernelTests/Core/TempStore/
H A DTempStoreDatabaseTest.php59 $this->assertEquals(!$i, $stores[0]->setIfNotExists($key, $objects[$i]));
71 $stores[0]->setIfNotExists($key, $objects[1]);
/dports/www/drupal9/drupal-9.2.10/core/lib/Drupal/Core/TempStore/
H A DSharedTempStore.php167 public function setIfNotExists($key, $value) { function in Drupal\\Core\\TempStore\\SharedTempStore
197 if ($this->setIfNotExists($key, $value)) {
/dports/www/matomo/piwik/core/Concurrency/
H A DLockBackend.php30 public function setIfNotExists($lockKey, $lockValue, $ttlInSeconds); function
H A DLock.php92 $locked = $this->backend->setIfNotExists($this->lockKey, $lockValue, $ttlInSeconds);
/dports/www/drupal8/drupal-8.9.20/core/tests/Drupal/KernelTests/Core/KeyValueStore/
H A DStorageTestBase.php165 $this->assertEqual(!$i, $stores[0]->setIfNotExists($key, $this->objects[$i]));
173 $stores[0]->setIfNotExists($key, $this->objects[1]);
/dports/www/drupal9/drupal-9.2.10/core/tests/Drupal/KernelTests/Core/KeyValueStore/
H A DStorageTestBase.php163 $this->assertEquals(!$i, $stores[0]->setIfNotExists($key, $this->objects[$i]));
171 $stores[0]->setIfNotExists($key, $this->objects[1]);
/dports/www/drupal8/drupal-8.9.20/core/lib/Drupal/Core/KeyValueStore/
H A DKeyValueStoreInterface.php84 public function setIfNotExists($key, $value); function
H A DNullStorageExpirable.php67 public function setIfNotExists($key, $value) {} function in Drupal\\Core\\KeyValueStore\\NullStorageExpirable
H A DMemoryStorage.php55 public function setIfNotExists($key, $value) { function in Drupal\\Core\\KeyValueStore\\MemoryStorage
H A DDatabaseStorage.php122 public function setIfNotExists($key, $value) { function in Drupal\\Core\\KeyValueStore\\DatabaseStorage
/dports/www/drupal9/drupal-9.2.10/core/lib/Drupal/Core/KeyValueStore/
H A DKeyValueStoreInterface.php85 public function setIfNotExists($key, $value); function
H A DNullStorageExpirable.php67 public function setIfNotExists($key, $value) {} function in Drupal\\Core\\KeyValueStore\\NullStorageExpirable
H A DMemoryStorage.php55 public function setIfNotExists($key, $value) { function in Drupal\\Core\\KeyValueStore\\MemoryStorage
H A DDatabaseStorage.php186 public function setIfNotExists($key, $value) { function in Drupal\\Core\\KeyValueStore\\DatabaseStorage
/dports/www/matomo/piwik/core/Concurrency/LockBackend/
H A DMySqlLockBackend.php33 public function setIfNotExists($key, $value, $ttlInSeconds) function in Piwik\\Concurrency\\LockBackend\\MySqlLockBackend
/dports/www/drupal8/drupal-8.9.20/core/modules/user/tests/src/Unit/
H A DSharedTempStoreTest.php199 $this->assertTrue($this->tempStore->setIfNotExists('test', 'test_data'));
/dports/www/drupal8/drupal-8.9.20/core/tests/Drupal/Tests/Core/TempStore/
H A DSharedTempStoreTest.php193 $this->assertTrue($this->tempStore->setIfNotExists('test', 'test_data'));
/dports/www/drupal9/drupal-9.2.10/core/tests/Drupal/Tests/Core/TempStore/
H A DSharedTempStoreTest.php199 $this->assertTrue($this->tempStore->setIfNotExists('test', 'test_data'));