for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DoS\UserBundle\Confirmation\Model;
use DoS\UserBundle\Confirmation\ConfirmationSubjectInterface;
class OtpVerification implements VerificationInterface
{
/**
* @var ConfirmationSubjectInterface
*/
protected $subject;
* @var string
protected $token;
protected $otp;
* {@inheritdoc}
public function getVerifyValue()
return $this->otp;
}
public function getToken()
return $this->token;
public function setToken($token)
$this->token = $token;
public function getSubject()
return $this->subject;
public function setSubject(ConfirmationSubjectInterface $subject = null)
$this->subject = $subject;
* @return string
public function getOtp()
* @param string $otp
public function setOtp($otp)
$this->otp = $otp;