PersonalAccessTokenResult
class PersonalAccessTokenResult implements Arrayable, Jsonable, JsonSerializable, Transient
Properties
| null|Token read-only | $token | ||
| protected TValue> | $attributes | All the attributes set on the personal access token response. |
|
| string | $accessTokenId | ||
| string | $accessToken | ||
| string | $tokenType | ||
| int | $expiresIn |
Methods
__construct(array $attributes = [])
Create a new result instance.
array
toArray()
Get the instance as an array.
array
jsonSerialize()
Convert the object into something JSON serializable.
string
toJson(int $options = 0)
Convert the object to its JSON representation.
bool
__isset(string $key)
Dynamically determine if an attribute is set.
mixed
__get(string $key)
Dynamically retrieve the value of an attribute.
Details
at line 43
__construct(array $attributes = [])
Create a new result instance.
at line 53
Token|null
getToken()
Get the token instance.
at line 64
array
toArray()
Get the instance as an array.
at line 74
array
jsonSerialize()
Convert the object into something JSON serializable.
at line 82
string
toJson(int $options = 0)
Convert the object to its JSON representation.
at line 90
bool
__isset(string $key)
Dynamically determine if an attribute is set.
at line 102
mixed
__get(string $key)
Dynamically retrieve the value of an attribute.