Completed
Push — master ( e44201...7c00aa )
by Ivannis Suárez
04:26
created

LogoutUserEvent::loadValidatorMetadata()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
3
/**
4
 * This file is part of the Cubiche package.
5
 *
6
 * Copyright (c) Cubiche
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
namespace Cubiche\Core\Bus\Tests\Fixtures\Event;
12
13
use Cubiche\Core\Bus\Event\Event;
14
use Cubiche\Core\Validator\Mapping\ClassMetadata;
15
16
/**
17
 * LogoutUserEvent class.
18
 *
19
 * @author Ivannis Suárez Jerez <[email protected]>
20
 */
21
class LogoutUserEvent extends Event
22
{
23
    /**
24
     * @var string
25
     */
26
    protected $email;
27
28
    /**
29
     * LogoutUserEvent constructor.
30
     *
31
     * @param $email
32
     */
33
    public function __construct($email)
34
    {
35
        $this->setEmail($email);
36
    }
37
38
    /**
39
     * @return string
40
     */
41
    public function email()
42
    {
43
        return $this->email;
44
    }
45
46
    /**
47
     * @param string $email
48
     */
49
    public function setEmail($email)
50
    {
51
        $this->email = $email;
52
    }
53
54
    /**
55
     * {@inheritdoc}
56
     */
57
    public static function loadValidatorMetadata(ClassMetadata $classMetadata)
0 ignored issues
show
Unused Code introduced by
The parameter $classMetadata is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
58
    {
59
    }
60
}
61