Test Failed
Pull Request — master (#10)
by Yo
02:35
created

CreateConfigurationRequest::getDestinationFolder()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
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 CreateConfigurationRequest
7
{
8
    /** @var string */
9
    private $destinationFolder;
10
    /** @var Configuration */
11
    private $configuration;
12
13
    /**
14
     * @param Configuration $configuration
15
     * @param string        $destinationFolder
16
     */
17
    public function __construct(Configuration $configuration, $destinationFolder)
18
    {
19
        $this->destinationFolder = $destinationFolder;
20
        $this->configuration = $configuration;
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 getConfiguration()
35
    {
36
        return $this->configuration;
37
    }
38
}
39