41 lines
713 B
YAML
41 lines
713 B
YAML
|
name: HasCacheLock
|
||
|
class_comment: null
|
||
|
dependencies: []
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: lock
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: name
|
||
|
- name: seconds
|
||
|
default: '0'
|
||
|
- name: owner
|
||
|
default: 'null'
|
||
|
comment: '# * Get a lock instance.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $name
|
||
|
|
||
|
# * @param int $seconds
|
||
|
|
||
|
# * @param string|null $owner
|
||
|
|
||
|
# * @return \Illuminate\Contracts\Cache\Lock'
|
||
|
- name: restoreLock
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: name
|
||
|
- name: owner
|
||
|
comment: '# * Restore a lock instance using the owner identifier.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $name
|
||
|
|
||
|
# * @param string $owner
|
||
|
|
||
|
# * @return \Illuminate\Contracts\Cache\Lock'
|
||
|
traits: []
|
||
|
interfaces: []
|