Skip to content

Commit

Permalink
Updated deprecation hints on Gateways
Browse files Browse the repository at this point in the history
  • Loading branch information
Niels Verbaken committed Jun 21, 2024
1 parent e8d6c8a commit ea3acca
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/CMText/Gateways.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,28 @@ class Gateways
* Alternative Global endpoint
*/
const GLOBAL_ALTERNATIVE = 'https://gw.cmtelecom.com/v1.0/message';

/**
* China local gateway
*
* @deprecated Instead use {@see \CMText\Gateways::GLOBAL}
* @see \CMText\Gateways::GLOBAL
*/
const CN = 'https://gw-cn.cmtelecom.com/v1.0/message';

/**
* Hong Kong local gateway
*
* @deprecated Instead use {@see \CMText\Gateways::GLOBAL}
* @see \CMText\Gateways::GLOBAL
*/
const HK = 'https://gw-hk.cmtelecom.cn/v1.0/message';

/**
* United Kingdom local gateway
*
* @deprecated Instead use {@see \CMText\Gateways::GLOBAL}
* @see \CMText\Gateways::GLOBAL
*/
const UK = 'https://gw-uk.cmtelecom.com/v1.0/message';
}

0 comments on commit ea3acca

Please sign in to comment.