Completed
Push — master ( 0a4926...d192d3 )
by Jan Philipp
24s queued 11s
created

RuntimeParameters::getCommands()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php declare(strict_types=1);
2
3
namespace Shopware\Psh\Application;
4
5
class RuntimeParameters
6
{
7
    /**
8
     * @var array
9
     */
10
    private $appParams;
11
12
    /**
13
     * @var array
14
     */
15
    private $overwrites;
16
17
    /**
18
     * @var array
19
     */
20
    private $commands;
21
22
    public function __construct(
23
        array $appParams,
24
        array $commands,
25
        array $overwrites
26
    ) {
27
        $this->appParams = $appParams;
28
        $this->overwrites = $overwrites;
29
        $this->commands = $commands;
30
    }
31
32
    public function getAppParams(): array
33
    {
34
        return $this->appParams;
35
    }
36
37
    public function getOverwrites(): array
38
    {
39
        return $this->overwrites;
40
    }
41
42
    public function getCommands(): array
43
    {
44
        return $this->commands;
45
    }
46
}
47