| 1 | <?php |
||
| 12 | class Ping |
||
| 13 | { |
||
| 14 | use ClientTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Ping constructor. |
||
| 18 | * |
||
| 19 | * @param Client $client |
||
| 20 | */ |
||
| 21 | public function __construct(Client $client) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Attempt to access the ping endpoint and will return true on success. |
||
| 28 | * @return bool |
||
| 29 | */ |
||
| 30 | public function ping() |
||
| 40 | } |
||
| 41 |