interface
Illuminate
/
Console
/
Scheduling
/
SchedulingMutex
You are viewing an older version of the documentation. For the latest, please visit master documentation.
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