Completed
Push — master ( 77675a...fe304c )
by Yo
02:42
created

UpdateConfigurationFileListRequest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 33
c 0
b 0
f 0
wmc 3
lcom 0
cbo 0
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getDestinationFolder() 0 4 1
A getConfigurationFileList() 0 4 1
1
<?php
2
namespace Yoanm\ComposerConfigManager\Application;
3
4
use Yoanm\ComposerConfigManager\Domain\Model\ConfigurationFile;
5
6
class UpdateConfigurationFileListRequest
7
{
8
    /** @var string */
9
    private $destinationFolder;
10
    /** @var ConfigurationFile[] */
11
    private $configurationList;
12
13
    /**
14
     * @param ConfigurationFile[] $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 ConfigurationFile[]
33
     */
34
    public function getConfigurationFileList()
35
    {
36
        return $this->configurationList;
37
    }
38
}
39