class NullStore
Hierarchy
- class \Symfony\Component\Lock\Store\NullStore implements \Symfony\Component\Lock\BlockingSharedLockStoreInterface
Expanded class hierarchy of NullStore
File
-
vendor/
symfony/ lock/ Store/ NullStore.php, line 17
Namespace
Symfony\Component\Lock\StoreView source
class NullStore implements BlockingSharedLockStoreInterface {
public function save(Key $key) : void {
}
public function delete(Key $key) : void {
}
public function exists(Key $key) : bool {
return false;
}
public function putOffExpiration(Key $key, float $ttl) : void {
}
public function saveRead(Key $key) : void {
}
public function waitAndSaveRead(Key $key) : void {
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
NullStore::delete | public | function | Removes a resource from the storage. | Overrides PersistingStoreInterface::delete |
NullStore::exists | public | function | Returns whether or not the resource exists in the storage. | Overrides PersistingStoreInterface::exists |
NullStore::putOffExpiration | public | function | Extends the TTL of a resource. | Overrides PersistingStoreInterface::putOffExpiration |
NullStore::save | public | function | Stores the resource if it's not locked by someone else. | Overrides PersistingStoreInterface::save |
NullStore::saveRead | public | function | Stores the resource if it's not locked for reading by someone else. | Overrides SharedLockStoreInterface::saveRead |
NullStore::waitAndSaveRead | public | function | Waits until a key becomes free for reading, then stores the resource. | Overrides BlockingSharedLockStoreInterface::waitAndSaveRead |