Completed
Push — 3.0 ( fb09f5...9f4a0e )
by Daniel
02:19
created

Entry::setDeployStrategy()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
/**
3
 *
4
 *
5
 *
6
 *
7
 */
8
9
namespace MagentoHackathon\Composer\Magento\Deploy\Manager;
10
11
class Entry
12
{
13
14
    protected $packageName;
15
16
    /**
17
     * @var \MagentoHackathon\Composer\Magento\Deploystrategy\DeploystrategyAbstract
18
     */
19
    protected $deployStrategy;
20
21
    /**
22
     * @param mixed $packageName
23
     */
24 7
    public function setPackageName($packageName)
25
    {
26 7
        $this->packageName = $packageName;
27 7
    }
28
29
    /**
30
     * @return mixed
31
     */
32 1
    public function getPackageName()
33
    {
34 1
        return $this->packageName;
35
    }
36
37
    /**
38
     * @param \MagentoHackathon\Composer\Magento\Deploystrategy\DeploystrategyAbstract $deployStrategy
39
     */
40 8
    public function setDeployStrategy($deployStrategy)
41
    {
42 8
        $this->deployStrategy = $deployStrategy;
43 8
    }
44
45
    /**
46
     * @return \MagentoHackathon\Composer\Magento\Deploystrategy\DeploystrategyAbstract
47
     */
48 2
    public function getDeployStrategy()
49
    {
50 2
        return $this->deployStrategy;
51
    }
52
}
53