EnableUserCommand::confirmationToken()   A
last analyzed

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
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the BenGorUser package.
5
 *
6
 * (c) Beñat Espiña <[email protected]>
7
 * (c) Gorka Laucirica <[email protected]>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace BenGorUser\User\Application\Command\Enable;
14
15
/**
16
 * Enable user command class.
17
 *
18
 * @author Beñat Espiña <[email protected]>
19
 * @author Gorka Laucirica <[email protected]>
20
 */
21
class EnableUserCommand
22
{
23
    /**
24
     * The confirmation token.
25
     *
26
     * @var string
27
     */
28
    private $confirmationToken;
29
30
    /**
31
     * Constructor.
32
     *
33
     * @param string $aConfirmationToken The confirmation token
34
     */
35
    public function __construct($aConfirmationToken)
36
    {
37
        $this->confirmationToken = $aConfirmationToken;
38
    }
39
40
    /**
41
     * Gets the confirmation token.
42
     *
43
     * @return string
44
     */
45
    public function confirmationToken()
46
    {
47
        return $this->confirmationToken;
48
    }
49
}
50