Completed
Pull Request — master (#10)
by
unknown
02:53
created

CreateUser::getDisplayName()   A

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
3
namespace SumoCoders\FrameworkMultiUserBundle\Command;
4
5
final class CreateUser
6
{
7
    /**
8
     * @var string
9
     */
10
    private $username;
11
12
    /**
13
     * @var string
14
     */
15
    private $password;
16
17
    /**
18
     * @var string
19
     */
20
    private $displayName;
21
22
    /**
23
     * CreateUser constructor.
24
     *
25
     * @param $username
26
     * @param $password
27
     * @param $displayName
28
     */
29
    public function __construct($username, $password, $displayName)
30
    {
31
        $this->username = $username;
32
        $this->password = $password;
33
        $this->displayName = $displayName;
34
    }
35
36
    /**
37
     * Get the username.
38
     *
39
     * @return string
40
     */
41
    public function getUsername()
42
    {
43
        return $this->username;
44
    }
45
46
    /**
47
     * Get the password.
48
     *
49
     * @return string
50
     */
51
    public function getPassword()
52
    {
53
        return $this->password;
54
    }
55
56
    /**
57
     * Get the displayName.
58
     *
59
     * @return string
60
     */
61
    public function getDisplayName()
62
    {
63
        return $this->displayName;
64
    }
65
}
66