Skip to content

Commit 5620c54

Browse files
Updated deprecation hints on Gateways (#57)
1 parent e8d6c8a commit 5620c54

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

src/CMText/Gateways.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,28 @@ class Gateways
2424
* Alternative Global endpoint
2525
*/
2626
const GLOBAL_ALTERNATIVE = 'https://gw.cmtelecom.com/v1.0/message';
27+
28+
/**
29+
* China local gateway
30+
*
31+
* @deprecated Instead use {@see \CMText\Gateways::GLOBAL}
32+
* @see \CMText\Gateways::GLOBAL
33+
*/
34+
const CN = 'https://gw-cn.cmtelecom.com/v1.0/message';
35+
36+
/**
37+
* Hong Kong local gateway
38+
*
39+
* @deprecated Instead use {@see \CMText\Gateways::GLOBAL}
40+
* @see \CMText\Gateways::GLOBAL
41+
*/
42+
const HK = 'https://gw-hk.cmtelecom.cn/v1.0/message';
43+
44+
/**
45+
* United Kingdom local gateway
46+
*
47+
* @deprecated Instead use {@see \CMText\Gateways::GLOBAL}
48+
* @see \CMText\Gateways::GLOBAL
49+
*/
50+
const UK = 'https://gw-uk.cmtelecom.com/v1.0/message';
2751
}

0 commit comments

Comments
 (0)