ApiStatus
in package
Represents the status of the API and its services.
Table of Contents
Properties
- $services : array<string|int, ServiceStatus>
- Array of ServiceStatus objects representing the status of each service.
- $status : string
- Will always be "ok" when the status information is successfully retrieved.
Methods
- __construct() : mixed
- ApiStatus constructor.
Properties
$services
Array of ServiceStatus objects representing the status of each service.
public
array<string|int, ServiceStatus>
$services
$status
Will always be "ok" when the status information is successfully retrieved.
public
string
$status
Methods
__construct()
ApiStatus constructor.
public
__construct(object $response) : mixed
Parameters
- $response : object
-
The raw response object containing API status information.