Passed
Push — master ( 3e8e14...77675a )
by Yo
02:50
created

UpdateConfigurationRequest::getConfigurationList()   A

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
namespace Yoanm\ComposerConfigManager\Application;
3
4
use Yoanm\ComposerConfigManager\Domain\Model\Configuration;
5
6
class UpdateConfigurationRequest
7
{
8
    /** @var string */
9
    private $destinationFolder;
10
    /** @var Configuration[] */
11
    private $configurationList;
12
13
    /**
14
     * @param Configuration[] $configurationList
15
     * @param string          $destinationFolder
16
     */
17
    public function __construct(array $configurationList, $destinationFolder)
18
    {
19
        $this->destinationFolder = $destinationFolder;
20
        $this->configurationList = $configurationList;
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function getDestinationFolder()
27
    {
28
        return $this->destinationFolder;
29
    }
30
31
    /**
32
     * @return Configuration[]
33
     */
34
    public function getConfigurationList()
35
    {
36
        return $this->configurationList;
37
    }
38
}
39