Skip to content

Commit

Permalink
Doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
zoonman committed Oct 4, 2017
1 parent 381c8cb commit eae5889
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/AccessToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,14 @@ public static function fromResponseArray($responseArray)
);
}

/**
* Specify data format for json_encode()
*/
public function jsonSerialize()
{
return [
'token' => $this->getToken(),
'expiresAt' => $this->getExpiresAt(),
];
}


}

0 comments on commit eae5889

Please sign in to comment.