-
Notifications
You must be signed in to change notification settings - Fork 0
/
Events.php
68 lines (60 loc) · 1.83 KB
/
Events.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
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
/*
* This file is part of the fos/message package.
*
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FOS\MessageBundle;
/**
* Declares all events thrown in the bundle
*
* @author Titouan Galopin <[email protected]>
*/
final class Events
{
/**
* The PAGE_INBOX event occurs before the rendering of the inbox
* The event is an instance of FOS\MessageBundle\Api\Event\ThreadListEvent
*
* @var string
*/
const PAGE_INBOX = 'fos_message.page_inbox';
/**
* The PAGE_SENT event occurs before the rendering of the sent box
* The event is an instance of FOS\MessageBundle\Api\Event\ThreadListEvent
*
* @var string
*/
const PAGE_SENT = 'fos_message.page_sent';
/**
* The PAGE_DELETED event occurs before the rendering of the deleted box
* The event is an instance of FOS\MessageBundle\Api\Event\ThreadListEvent
*
* @var string
*/
const PAGE_DELETED = 'fos_message.page_deleted';
/**
* The PAGE_THREAD event occurs before the rendering of a single thread
* The event is an instance of FOS\Message\Api\Event\ThreadEvent
*
* @var string
*/
const PAGE_THREAD = 'fos_message.page_thread';
/**
* The FORM_NEW event occurs before the rendering of the new thread form
* The event is an instance of FOS\MessageBundle\Api\Event\MessageFormEvent
*
* @var string
*/
const FORM_NEW = 'fos_message.form_new';
/**
* The FORM_NEW event occurs before the rendering of the reply form
* The event is an instance of FOS\MessageBundle\Api\Event\MessageFormEvent
*
* @var string
*/
const FORM_REPLY = 'fos_message.form_reply';
}