-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBlueteaExportEvents.php
40 lines (35 loc) · 1.34 KB
/
BlueteaExportEvents.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
<?php
namespace Bluetea\ExportBundle;
/**
* Contains all events thrown in the BlueteaExportBundle
*/
final class BlueteaExportEvents
{
/**
* The EXPORT_INITIALIZE event occurs when the run export process is initialized
*
* The event listener method receives a Bluetea\ExportBundle\Events\ExportEvent instance
*/
const EXPORT_INITIALIZE = 'bluetea_export.export_initialize';
/**
* The EXPORT_SUCCESS event occurs when the run export process is finished
*
* This event allows you to modify the export entity before flushing
* The event listener method receives a Bluetea\ExportBundle\Events\GetExportEvent instance
*/
const EXPORT_SUCCESS = 'bluetea_export.export_success';
/**
* The EXPORT_COMPLETED event occurs when the run export process is finished
*
* The event listener method receives a Bluetea\ExportBundle\Events\ExportEvent instance
*/
const EXPORT_COMPLETED = 'bluetea_export.export_completed';
/**
* The EXPORT_SAVE_FILE event occurs when the run export process is finished and the
* parsed data is available.
*
* This event allows you to handle the storage of the export file
* The event listener methods receives a Bluetea\Export\Events\GetExportFileEvent instance
*/
const EXPORT_SAVE_FILE = 'bluetea_export.export_save_file';
}