interface SchedulingMutex (View source)

Methods

bool
create(Event $event, DateTimeInterface $time)

Attempt to obtain a scheduling mutex for the given event.

bool
exists(Event $event, DateTimeInterface $time)

Determine if a scheduling mutex exists for the given event.

Details

bool create(Event $event, DateTimeInterface $time)

Attempt to obtain a scheduling mutex for the given event.

Parameters

Event $event
DateTimeInterface $time

Return Value

bool

bool exists(Event $event, DateTimeInterface $time)

Determine if a scheduling mutex exists for the given event.

Parameters

Event $event
DateTimeInterface $time

Return Value

bool