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

TokenNotFoundView::getToken()   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 0
1
<?php
2
3
namespace Mouf\Security\Password;
4
5
use Mouf\Html\HtmlElement\HtmlElementInterface;
6
use Mouf\Html\Renderer\Renderable;
7
8
class TokenNotFoundView implements HtmlElementInterface
9
{
10
    use Renderable;
11
12
    /**
13
     * @var string
14
     */
15
    private $token;
16
17
    /**
18
     * EmailSentView constructor.
19
     *
20
     * @param string $token
21
     */
22
    public function __construct($token)
23
    {
24
        $this->token = $token;
25
    }
26
27
    /**
28
     * @return string
29
     */
30
    public function getToken(): string
31
    {
32
        return $this->token;
33
    }
34
}
35