EmailVerification::getToken()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace DoS\UserBundle\Confirmation\Model;
3
4
use DoS\UserBundle\Confirmation\ConfirmationSubjectInterface;
5
6
class EmailVerification implements VerificationInterface
7
{
8
    /**
9
     * @var ConfirmationSubjectInterface
10
     */
11
    protected $subject;
12
13
    /**
14
     * @var string
15
     */
16
    protected $token;
17
18
    /**
19
     * {@inheritdoc}
20
     */
21
    public function getVerifyValue()
22
    {
23
        return $this->token;
24
    }
25
26
    /**
27
     * {@inheritdoc}
28
     */
29
    public function getToken()
30
    {
31
        return $this->token;
32
    }
33
34
    /**
35
     * {@inheritdoc}
36
     */
37
    public function setToken($token)
38
    {
39
        $this->token = $token;
40
    }
41
42
    /**
43
     * {@inheritdoc}
44
     */
45
    public function getSubject()
46
    {
47
        return $this->subject;
48
    }
49
50
    /**
51
     * {@inheritdoc}
52
     */
53
    public function setSubject(ConfirmationSubjectInterface $subject = null)
54
    {
55
        $this->subject = $subject;
56
    }
57
}
58