for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DoS\UserBundle\Model;
use DoS\UserBundle\Confirmation\ConfirmationSubjectInterface;
class OneTimePassword implements OneTimePasswordInterface
{
/**
* @var int
*/
protected $id;
* @var ConfirmationSubjectInterface
protected $subject;
* @var string
protected $token;
protected $verify;
* @var \DateTime
protected $createdAt;
protected $updatedAt;
* @var bool
protected $confirmed;
* @return int
public function getId()
return $this->id;
}
* {@inheritdoc}
public function getSubject()
return $this->subject;
public function setSubject(ConfirmationSubjectInterface $subject)
$this->subject = $subject;
public function getToken()
return $this->token;
public function setToken($token)
$this->token = $token;
public function getVerify()
return $this->verify;
public function setVerify($verify)
$this->verify = $verify;
public function getCreatedAt()
return $this->createdAt;
public function setCreatedAt(\DateTime $createdAt)
$this->createdAt = $createdAt;
public function getUpdatedAt()
return $this->updatedAt;
public function setUpdatedAt(\DateTime $updatedAt)
$this->updatedAt = $updatedAt;
public function isConfirmed()
return $this->confirmed;
public function setConfirmed($confirmed)
$this->confirmed = $confirmed;