- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathConstEventsNames.php
More file actions
31 lines (28 loc) · 834 Bytes
/
ConstEventsNames.php
File metadata and controls
31 lines (28 loc) · 834 Bytes
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
<?php
declare(strict_types=1);
/**
* This file is part of friendsofhyperf/components.
*
* @link https://github.com/friendsofhyperf/components
* @document https://github.com/friendsofhyperf/components/blob/main/README.md
* @contact huangdijia@gmail.com
*/
namespace FriendsOfHyperf\Trigger;
/**
* @deprecated since v3.1, use \MySQLReplication\Definitions\ConstEventsNames instead, will be removed in v3.2
*/
enum ConstEventsNames: string
{
case XID = 'xid';
case DELETE = 'delete';
case QUERY = 'query';
case ROTATE = 'rotate';
case GTID = 'gtid';
case MARIADB_GTID = 'mariadb gtid';
case UPDATE = 'update';
case HEARTBEAT = 'heartbeat';
case TABLE_MAP = 'tableMap';
case WRITE = 'write';
case FORMAT_DESCRIPTION = 'format description';
case ROWS_QUERY = 'rows_query';
}