SchedulingMutex

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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/6.x/Illuminate/Console/Scheduling/SchedulingMutex.html