class UserApiKey (View source)

Methods

__construct(string $id, DateTime|null $created, DateTime|null $accessed, string|null $comment, string|null $apiKey)

Constructor.

static UserApiKey
createFromArray(array $apiKeys)

Create a user from the JSON data returned by the rokka.io API.

string|null
getComment()

No description

DateTime|null
getAccessed()

No description

DateTime|null
getCreated()

No description

string
getId()

No description

string|null
getApiKey()

No description

Details

__construct(string $id, DateTime|null $created, DateTime|null $accessed, string|null $comment, string|null $apiKey)

Constructor.

Parameters

string $id

Api-Key Id

DateTime|null $created

Creation Date of the Key

DateTime|null $accessed

Last Access (only recorded once per 24h)

string|null $comment

Optional Comment

string|null $apiKey

The Api Key on creation

static UserApiKey createFromArray(array $apiKeys)

Create a user from the JSON data returned by the rokka.io API.

Parameters

array $apiKeys

Return Value

UserApiKey

string|null getComment()

No description

Return Value

string|null

DateTime|null getAccessed()

No description

Return Value

DateTime|null

DateTime|null getCreated()

No description

Return Value

DateTime|null

string getId()

No description

Return Value

string

string|null getApiKey()

No description

Return Value

string|null