-
Notifications
You must be signed in to change notification settings - Fork 0
/
WSUserEvents.php
55 lines (38 loc) · 1.5 KB
/
WSUserEvents.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
/*
* This file is part of the WSUserBundle package.
*
* (c) Benjamin Georgeault <https://github.com/WedgeSama/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WS\UserBundle;
/**
* Contains all events thrown in the WSUserBundle.
*
* @author Benjamin Georgeault <github@wedgesama.fr>
*/
final class WSUserEvents
{
/**
* The SECURITY_ERROR_LOGIN is throw when an error occur during the login of user.
*/
const SECURITY_ERROR_LOGIN = 'ws_user.security.error_login';
const NEW_INITIALIZE = 'ws_user.user.new.initialize';
const NEW_SUCCESS = 'ws_user.user.new.success';
const NEW_COMPLETED = 'ws_user.user.new.completed';
const NEW_ERROR = 'ws_user.user.new.error';
const DELETE_INITIALIZE = 'ws_user.user.delete.initialize';
const DELETE_SUCCESS = 'ws_user.user.delete.success';
const DELETE_COMPLETED = 'ws_user.user.delete.completed';
const DELETE_ERROR = 'ws_user.user.delete.error';
const EDIT_INITIALIZE = 'ws_user.user.edit.initialize';
const EDIT_SUCCESS = 'ws_user.user.edit.success';
const EDIT_COMPLETED = 'ws_user.user.edit.completed';
const EDIT_ERROR = 'ws_user.user.edit.error';
const PASSWORD_INITIALIZE = 'ws_user.user.password.initialize';
const PASSWORD_SUCCESS = 'ws_user.user.password.success';
const PASSWORD_COMPLETED = 'ws_user.user.password.completed';
const PASSWORD_ERROR = 'ws_user.user.password.error';
}