53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
|
name: InMemoryStore
|
||
|
class_comment: "# * InMemoryStore is a PersistingStoreInterface implementation using\n\
|
||
|
# * php-array to manage locks.\n# *\n# * @author J\xE9r\xE9my Deruss\xE9 <jeremy@derusse.com>"
|
||
|
dependencies:
|
||
|
- name: LockConflictedException
|
||
|
type: class
|
||
|
source: Symfony\Component\Lock\Exception\LockConflictedException
|
||
|
- name: Key
|
||
|
type: class
|
||
|
source: Symfony\Component\Lock\Key
|
||
|
- name: SharedLockStoreInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Lock\SharedLockStoreInterface
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: save
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: key
|
||
|
comment: null
|
||
|
- name: saveRead
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: key
|
||
|
comment: null
|
||
|
- name: putOffExpiration
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: key
|
||
|
- name: ttl
|
||
|
comment: null
|
||
|
- name: delete
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: key
|
||
|
comment: null
|
||
|
- name: exists
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: key
|
||
|
comment: null
|
||
|
- name: getUniqueToken
|
||
|
visibility: private
|
||
|
parameters:
|
||
|
- name: key
|
||
|
comment: null
|
||
|
traits:
|
||
|
- Symfony\Component\Lock\Exception\LockConflictedException
|
||
|
- Symfony\Component\Lock\Key
|
||
|
- Symfony\Component\Lock\SharedLockStoreInterface
|
||
|
interfaces:
|
||
|
- SharedLockStoreInterface
|