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

EmailSentView   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 27
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getEmail() 0 4 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