trait HasTokens (View source)

Methods

array
tokens()

Get the response tokens.

Token|Data|null
tokenAt(int $index)

Get the response token at the given index.

array
tokensAfter(int $index)

Get the response tokens after the given index.

Details

abstract array tokens()

Get the response tokens.

Return Value

array

Token|Data|null tokenAt(int $index)

Get the response token at the given index.

Parameters

int $index

Return Value

Token|Data|null

array tokensAfter(int $index)

Get the response tokens after the given index.

Parameters

int $index

Return Value

array