-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathEnvironment.php
63 lines (60 loc) · 2.1 KB
/
Environment.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
<?php
/**
* Project database.
* Created by PhpStorm.
* User: 713uk13m <[email protected]>
* Date: 2019-07-06
* Time: 10:21
*/
namespace nguyenanhung\MyDatabase;
/**
* Interface Environment
*
* @package nguyenanhung\MyDatabase
* @author 713uk13m <[email protected]>
* @copyright 713uk13m <[email protected]>
*/
interface Environment
{
public const PROJECT_NAME = 'My Database Packages by HungNG';
public const VERSION = '4.1.0';
public const LAST_MODIFIED = '2025-01-20';
public const AUTHOR_NAME = 'Hung Nguyen';
public const AUTHOR_EMAIL = '[email protected]';
public const AUTHOR_URL = 'https://nguyenanhung.com';
public const GITHUB_URL = 'https://github.com/nguyenanhung/database';
public const PACKAGES_URL = 'https://packagist.org/packages/nguyenanhung/database';
public const TIMEZONE = 'Asia/Ho_Chi_Minh';
public const OPERATOR_EQUAL_TO = '=';
public const OP_EQ = '=';
public const OPERATOR_NOT_EQUAL_TO = '!=';
public const OP_NE = '!=';
public const OPERATOR_LESS_THAN = '<';
public const OP_LT = '<';
public const OPERATOR_LESS_THAN_OR_EQUAL_TO = '<=';
public const OP_LTE = '<=';
public const OPERATOR_GREATER_THAN = '>';
public const OP_GT = '>';
public const OPERATOR_GREATER_THAN_OR_EQUAL_TO = '>=';
public const OP_GTE = '>=';
public const OPERATOR_IS_SPACESHIP = '<=>';
public const OPERATOR_IS_IN = 'IN';
public const OPERATOR_IS_LIKE = 'LIKE';
public const OPERATOR_IS_LIKE_BINARY = 'LIKE BINARY';
public const OPERATOR_IS_ILIKE = 'ilike';
public const OPERATOR_IS_NOT_LIKE = 'NOT LIKE';
public const OPERATOR_IS_NULL = 'IS NULL';
public const OPERATOR_IS_NOT_NULL = 'IS NOT NULL';
public const ORDER_ASCENDING = 'ASC';
public const ORDER_DESCENDING = 'DESC';
public const TABLE_OPERATOR_IS_ACTIVE = 1;
/**
* Hàm lấy thông tin phiên bản Package
*
* @return string Current Project Version, VD: 0.1.0
*
* @author : 713uk13m <[email protected]>
* @time : 10/13/18 15:12
*/
public function getVersion(): string;
}