interface
Illuminate
/
Console
/
Scheduling
/
SchedulingMutex
SchedulingMutex
Methods
public
create ( Event $event , DateTimeInterface $time ) : bool
Attempt to obtain a scheduling mutex for the given event.
Parameters
- $event Event
- $time DateTimeInterface
public
exists ( Event $event , DateTimeInterface $time ) : bool
Determine if a scheduling mutex exists for the given event.
Parameters
- $event Event
- $time DateTimeInterface