NewAccessToken
class NewAccessToken implements Stringable, Arrayable, Jsonable
Methods
__construct(PersonalAccessToken $accessToken, string $plainTextToken)
Create a new access token result.
array
toArray()
Get the instance as an array.
string
toJson(int $options = 0)
Convert the object to its JSON representation.
string
__toString()
Convert the object to its string representation.
Details
at line 16
__construct(PersonalAccessToken $accessToken, string $plainTextToken)
Create a new access token result.
at line 27
array
toArray()
Get the instance as an array.
at line 38
string
toJson(int $options = 0)
Convert the object to its JSON representation.
at line 46
string
__toString()
Convert the object to its string representation.