-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathStorageEvents.php
More file actions
93 lines (84 loc) · 2.44 KB
/
Copy pathStorageEvents.php
File metadata and controls
93 lines (84 loc) · 2.44 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?php
namespace Akeneo\Component\StorageUtils;
/**
* Storage events.
*
* @author Julien Sanchez <julien@akeneo.com>
* @copyright 2015 Akeneo SAS (http://www.akeneo.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
final class StorageEvents
{
/**
* This event is thrown before an object gets removed.
*
* The event listener receives an
* Akeneo\Component\StorageUtils\Event\RemoveEvent instance.
*
* @staticvar string
*/
const PRE_REMOVE = 'akeneo.storage.pre_remove';
/**
* This event is thrown after an object gets removed.
*
* The event listener receives an
* Akeneo\Component\StorageUtils\Event\RemoveEvent instance.
*
* @staticvar string
*/
const POST_REMOVE = 'akeneo.storage.post_remove';
/**
* This event is thrown before several objects get removed.
*
* The event listener receives an
* Akeneo\Component\StorageUtils\Event\RemoveEvent instance.
*
* @staticvar string
*/
const PRE_REMOVE_ALL = 'akeneo.storage.pre_remove_all';
/**
* This event is thrown after several objects have been removed.
*
* The event listener receives an
* Akeneo\Component\StorageUtils\Event\RemoveEvent instance.
*
* @staticvar string
*/
const POST_REMOVE_ALL = 'akeneo.storage.post_remove_all';
/**
* This event is thrown before an object gets saved.
*
* The event listener receives an
* Symfony\Component\EventDispatcher\GenericEvent instance.
*
* @staticvar string
*/
const PRE_SAVE = 'akeneo.storage.pre_save';
/**
* This event is thrown after an object gets saved.
*
* The event listener receives an
* Symfony\Component\EventDispatcher\GenericEvent instance.
*
* @staticvar string
*/
const POST_SAVE = 'akeneo.storage.post_save';
/**
* This event is thrown before several objects get saved.
*
* The event listener receives an
* Symfony\Component\EventDispatcher\GenericEvent instance.
*
* @staticvar string
*/
const PRE_SAVE_ALL = 'akeneo.storage.pre_save_all';
/**
* This event is thrown after several objects have been saved.
*
* The event listener receives an
* Symfony\Component\EventDispatcher\GenericEvent instance.
*
* @staticvar string
*/
const POST_SAVE_ALL = 'akeneo.storage.post_save_all';
}