Completed
Push — master ( 504537...babb2f )
by Torben
04:05
created

ChangePassword::setCurrentPassword()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
1
<?php
2
declare(strict_types=1);
3
namespace Derhansen\FeChangePwd\Domain\Model\Dto;
4
5
/*
6
 * This file is part of the Extension "fe_change_pwd" for TYPO3 CMS.
7
 *
8
 * For the full copyright and license information, please read the
9
 * LICENSE.txt file that was distributed with this source code.
10
 */
11
12
/**
13
 * Class ChangePassword
14
 */
15
class ChangePassword
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $password1 = '';
21
22
    /**
23
     * @var string
24
     */
25
    protected $password2 = '';
26
27
    /**
28
     * @var string
29
     */
30
    protected $currentPassword = '';
31
32
    /**
33
     * @return string
34
     */
35
    public function getPassword1()
36
    {
37
        return $this->password1;
38
    }
39
40
    /**
41
     * @param string $password1
42
     */
43
    public function setPassword1(string $password1)
44
    {
45
        $this->password1 = $password1;
46
    }
47
48
    /**
49
     * @return string
50
     */
51
    public function getPassword2()
52
    {
53
        return $this->password2;
54
    }
55
56
    /**
57
     * @param string $password2
58
     */
59
    public function setPassword2(string $password2)
60
    {
61
        $this->password2 = $password2;
62
    }
63
64
    /**
65
     * @return string
66
     */
67
    public function getCurrentPassword()
68
    {
69
        return $this->currentPassword;
70
    }
71
72
    /**
73
     * @param string $currentPassword
74
     */
75
    public function setCurrentPassword(string $currentPassword)
76
    {
77
        $this->currentPassword = $currentPassword;
78
    }
79
}
80