Revert "composer reinstall"

This reverts commit d16736132c972e2b5c5029dc4bcea497f2ab2174.
This commit is contained in:
2020-01-28 00:44:38 +09:00
parent da32f0067a
commit adcfcaa1ef
424 changed files with 16288 additions and 14020 deletions
+32 -3
View File
@@ -18,11 +18,16 @@ use Symfony\Component\Lock\Exception\NotSupportedException;
* StoreInterface defines an interface to manipulate a lock store.
*
* @author Jérémy Derussé <jeremy@derusse.com>
*
* @deprecated since Symfony 4.4, use PersistingStoreInterface and BlockingStoreInterface instead
*/
interface StoreInterface extends PersistingStoreInterface
interface StoreInterface
{
/**
* Stores the resource if it's not locked by someone else.
*
* @throws LockConflictedException
*/
public function save(Key $key);
/**
* Waits until a key becomes free, then stores the resource.
*
@@ -32,4 +37,28 @@ interface StoreInterface extends PersistingStoreInterface
* @throws NotSupportedException
*/
public function waitAndSave(Key $key);
/**
* Extends the ttl of a resource.
*
* If the store does not support this feature it should throw a NotSupportedException.
*
* @param float $ttl amount of second to keep the lock in the store
*
* @throws LockConflictedException
* @throws NotSupportedException
*/
public function putOffExpiration(Key $key, $ttl);
/**
* Removes a resource from the storage.
*/
public function delete(Key $key);
/**
* Returns whether or not the resource exists in the storage.
*
* @return bool
*/
public function exists(Key $key);
}