40 lines
777 B
YAML
40 lines
777 B
YAML
|
name: SchedulingMutex
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: DateTimeInterface
|
||
|
type: class
|
||
|
source: DateTimeInterface
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: create
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: event
|
||
|
- name: time
|
||
|
comment: '# * Attempt to obtain a scheduling mutex for the given event.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param \Illuminate\Console\Scheduling\Event $event
|
||
|
|
||
|
# * @param \DateTimeInterface $time
|
||
|
|
||
|
# * @return bool'
|
||
|
- name: exists
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: event
|
||
|
- name: time
|
||
|
comment: '# * Determine if a scheduling mutex exists for the given event.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param \Illuminate\Console\Scheduling\Event $event
|
||
|
|
||
|
# * @param \DateTimeInterface $time
|
||
|
|
||
|
# * @return bool'
|
||
|
traits:
|
||
|
- DateTimeInterface
|
||
|
interfaces: []
|