Completed
Push — 1.0 ( 4b07bc...bb4e0d )
by David
06:01
created

EmailSentView::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace Mouf\Security\Password;
4
5
use Mouf\Html\HtmlElement\HtmlElementInterface;
6
use Mouf\Html\Renderer\Renderable;
7
8
class EmailSentView implements HtmlElementInterface
9
{
10
    use Renderable;
11
12
    /**
13
     * @var string
14
     */
15
    private $email;
16
17
    /**
18
     * EmailSentView constructor.
19
     *
20
     * @param string $email
21
     */
22
    public function __construct(string $email)
23
    {
24
        $this->email = $email;
25
    }
26
27
    /**
28
     * @return string
29
     */
30
    public function getEmail() : string
31
    {
32
        return $this->email;
33
    }
34
}
35