MarketData SDK

User
in package

Represents user/rate limit information from the API.

This class wraps the RateLimits value object to provide rate limit information retrieved from the /user/ endpoint.

Table of Contents

Properties

$rate_limits  : RateLimits
The rate limit information.

Methods

__construct()  : mixed
User constructor.
__toString()  : string
Returns a string representation of the user info.

Properties

Methods

__construct()

User constructor.

public __construct(RateLimits $rateLimits) : mixed
Parameters
$rateLimits : RateLimits

The rate limit information extracted from response headers.

__toString()

Returns a string representation of the user info.

public __toString() : string
Return values
string

Human-readable user/rate limit information.


        
On this page

Search results