for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace JwPersistentUser\Model;
class SerieToken implements SerieTokenInterface
{
/**
* @var int
*/
protected $userId;
* @var string
protected $serie;
protected $token;
* @var \DateTime
protected $expiresAt;
* @var \DateTime|null
protected $validUntil;
* @param null|int $userId
* @param null|string $serie
* @param null|string $token
public function __construct($userId = null, $serie = null, $token = null)
$this->setUserId($userId);
$this->setSerie($serie);
$this->setToken($token);
}
public function getSerie()
return $this->serie;
public function setSerie($serie)
$this->serie = $serie;
public function getToken()
return $this->token;
public function setToken($token)
$this->token = $token;
public function getUserId()
return $this->userId;
public function setUserId($userId)
$this->userId = $userId;
public function getExpiresAt()
return $this->expiresAt;
public function setExpiresAt($expiresAt)
$this->expiresAt = $expiresAt;
public function getValidUntil()
return $this->validUntil;
public function setValidUntil($validUntil)
$this->validUntil = $validUntil;