| 1 | <?php |
||
| 17 | class RequestUtil |
||
| 18 | { |
||
| 19 | /** @var bool Cache https check variable. */ |
||
| 20 | protected static $httpsCache; |
||
| 21 | |||
| 22 | /** @var string Cache request id variable. */ |
||
| 23 | protected static $requestId; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Check that the connection is https. |
||
| 27 | * |
||
| 28 | * @return bool |
||
| 29 | */ |
||
| 30 | public static function isHttps(): bool |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Get request id. |
||
| 41 | * |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | public static function requestId(): string |
||
| 51 | } |
||
| 52 |