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
interface EventMutex
6
{
7
    /**
8
     * Attempt to obtain an event mutex for the given event.
9
     *
10
     * @param  \Illuminate\Console\Scheduling\Event  $event
11
     * @return bool
12
     */
13
    public function create(Event $event);
14
 
15
    /**
16
     * Determine if an event mutex exists for the given event.
17
     *
18
     * @param  \Illuminate\Console\Scheduling\Event  $event
19
     * @return bool
20
     */
21
    public function exists(Event $event);
22
 
23
    /**
24
     * Clear the event mutex for the given event.
25
     *
26
     * @param  \Illuminate\Console\Scheduling\Event  $event
27
     * @return void
28
     */
29
    public function forget(Event $event);
30
}