for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: thiago
* Date: 31/03/18
* Time: 19:59
*/
namespace MyWonderland\Domain\Model;
class SpotifyToken
{
* @var string
private $accessToken;
private $tokenType;
private $expiresIn;
private $refreshToken;
private $scope;
* SpotifyToken constructor.
* @param string $accessToken
* @param string $tokenType
* @param string $expiresIn
* @param string $refreshToken
* @param string $scope
public function __construct($accessToken, $tokenType, $expiresIn, $refreshToken, $scope)
$this->accessToken = $accessToken;
$this->tokenType = $tokenType;
$this->expiresIn = $expiresIn;
$this->refreshToken = $refreshToken;
$this->scope = $scope;
}
* @return string
public function getAccessToken(): string
return $this->accessToken;
public function getTokenType(): string
return $this->tokenType;
public function getExpiresIn(): string
return $this->expiresIn;
public function getRefreshToken(): string
return $this->refreshToken;
public function getScope(): string
return $this->scope;