| 1 | <?php |
||
| 5 | class Vindi |
||
| 6 | { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * This Package SDK Version. |
||
| 10 | * |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | public static $sdkVersion = '1.0.10'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * The Environment variable name for API URI. |
||
| 17 | * |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | public static $apiUriEnvVar = 'VINDI_API_URI'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The Environment variable name for API Key. |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | public static $apiKeyEnvVar = 'VINDI_API_KEY'; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * The Environment variable name for API Time Out. |
||
| 31 | * |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | public static $apiTimeOutEnvVar = 'VINDI_API_TIME_OUT'; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Get Vindi API URI from environment. |
||
| 38 | * |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | 428 | public static function getApiUri() |
|
| 48 | |||
| 49 | /** |
||
| 50 | * Get Vindi API Key from environment. |
||
| 51 | * |
||
| 52 | * @return string |
||
| 53 | */ |
||
| 54 | 430 | public static function getApiKey() |
|
| 58 | |||
| 59 | /** |
||
| 60 | * Get Vindi API Time Out from environment. |
||
| 61 | * |
||
| 62 | * @return string |
||
| 63 | */ |
||
| 64 | 428 | public static function getApiTimeOut() |
|
| 71 | |||
| 72 | /** |
||
| 73 | * Get CA Bundle Path. |
||
| 74 | * |
||
| 75 | * @return string |
||
| 76 | */ |
||
| 77 | 430 | public static function getCertPath() |
|
| 81 | } |
||
| 82 |