EmailResend::getSubjectValue()   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 EmailResend implements ResendInterface
7
{
8
    /**
9
     * @var ConfirmationSubjectInterface
10
     */
11
    protected $subject;
12
13
    /**
14
     * @var string
15
     */
16
    protected $email;
17
18
    /**
19
     * @return string
20
     */
21
    public function getSubjectValue()
22
    {
23
        return $this->email;
24
    }
25
26
    /**
27
     * @return string
28
     */
29
    public function getEmail()
30
    {
31
        return $this->email;
32
    }
33
34
    /**
35
     * @param string $email
36
     */
37
    public function setEmail($email)
38
    {
39
        $this->email = $email;
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