Passed
Pull Request — master (#9)
by ANTHONIUS
02:18
created

RestoreEvent::getPatches()   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 0
1
<?php
2
3
/*
4
 * This file is part of the dotfiles project.
5
 *
6
 *     (c) Anthonius Munthi <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Dotfiles\Core\Event;
13
14
use Symfony\Component\EventDispatcher\Event;
15
16
class RestoreEvent extends Event
17
{
18
    /**
19
     * @var array
20
     */
21
    private $files;
22
23
    /**
24
     * @var array
25
     */
26
    private $patches;
27
28
    /**
29
     * @return array
30
     */
31
    public function getFiles(): array
32
    {
33
        return $this->files;
34
    }
35
36
    /**
37
     * @return array
38
     */
39
    public function getPatches(): array
40
    {
41
        return $this->patches;
42
    }
43
44
    public function setFiles(array $files)
45
    {
46
        $this->files = $files;
47
    }
48
49
    public function setPatches(array $patches)
50
    {
51
        $this->patches = $patches;
52
    }
53
}
54