Response
class Response implements Arrayable, Stringable (View source)
Traits
Methods
array
tokens()
Get the response tokens.
__construct(array $tokens)
Constructor.
array
toArray()
Get the instance as an array.
string
__toString()
Get a JSON representation of the response tokens.
Details
array
tokens()
Get the response tokens.
array
tokensAfter(int $index)
Get the response tokens after the given index.
__construct(array $tokens)
Constructor.
array
toArray()
Get the instance as an array.
string
__toString()
Get a JSON representation of the response tokens.