Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Console\Scheduling;
4
 
5
use DateTimeInterface;
6
 
7
interface SchedulingMutex
8
{
9
    /**
10
     * Attempt to obtain a scheduling mutex for the given event.
11
     *
12
     * @param  \Illuminate\Console\Scheduling\Event  $event
13
     * @param  \DateTimeInterface  $time
14
     * @return bool
15
     */
16
    public function create(Event $event, DateTimeInterface $time);
17
 
18
    /**
19
     * Determine if a scheduling mutex exists for the given event.
20
     *
21
     * @param  \Illuminate\Console\Scheduling\Event  $event
22
     * @param  \DateTimeInterface  $time
23
     * @return bool
24
     */
25
    public function exists(Event $event, DateTimeInterface $time);
26
}