forked from mmoreram/RSQueueBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRSQueueEvents.php
55 lines (49 loc) · 1.28 KB
/
RSQueueEvents.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* RSQueueBundle for Symfony2
*
* Marc Morera 2013
*/
namespace Mmoreram\RSQueueBundle;
/**
* Events dispatched by RSQueueBundle
*/
class RSQueueEvents
{
/**
* The rsqueue.consumer is thrown each time a job is consumed by consumer
*
* The event listener recieves an
* Mmoreram\RSQueueBundle\Event\RSQueueConsumerEvent instance
*
* @var string
*/
const RSQUEUE_CONSUMER = 'rsqueue.consumer';
/**
* The rsqueue.subscriber is thrown each time a job is consumed by subscriber
*
* The event listener recieves an
* Mmoreram\RSQueueBundle\Event\RSQueueSubscriberEvent instance
*
* @var string
*/
const RSQUEUE_SUBSCRIBER = 'rsqueue.subscriber';
/**
* The rsqueue.producer is thrown each time a job is consumed by producer
*
* The event listener recieves an
* Mmoreram\RSQueueBundle\Event\RSQueueProducerEvent instance
*
* @var string
*/
const RSQUEUE_PRODUCER = 'rsqueue.producer';
/**
* The rsqueue.publisher is thrown each time a job is consumed by publisher
*
* The event listener recieves an
* Mmoreram\RSQueueBundle\Event\RSQueuePublisherEvent instance
*
* @var string
*/
const RSQUEUE_PUBLISHER = 'rsqueue.publisher';
}