for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Mechpave\ImgurClient\Entity;
/**
* Class Token
* @package Mechpave\ImgurClient\Entity
*/
class Token implements TokenInterface
{
* Access token
* @var string
protected $accessToken;
* Refresh token
protected $refreshToken;
* Timestamp of token expiration
* @var int
protected $expiresAt;
* Account Id, token is connected to
protected $accountId;
* @inheritdoc
public function setAccessToken($accessToken)
$this->accessToken = $accessToken;
return $this;
}
public function getAccessToken()
return $this->accessToken;
public function setRefreshToken($refreshToken)
$this->refreshToken = $refreshToken;
public function getRefreshToken()
return $this->refreshToken;
public function setExpiresAt($timestamp)
$this->expiresAt = $timestamp;
public function getExpiresAt()
return $this->expiresAt;
public function setAccountId($accountId)
$this->accountId = $accountId;
public function getAccountId()
return $this->accountId;