<?phpnamespaceIlluminate\Console\Scheduling;useDateTimeInterface;interfaceSchedulingMutex{/** * Attempt to obtain a scheduling mutex for the given event. * * @param \Illuminate\Console\Scheduling\Event $event * @param \DateTimeInterface $time * @return bool */publicfunctioncreate(Event$event,DateTimeInterface$time);/** * Determine if a scheduling mutex exists for the given event. * * @param \Illuminate\Console\Scheduling\Event $event * @param \DateTimeInterface $time * @return bool */publicfunctionexists(Event$event,DateTimeInterface$time);}