Completed
Push — 3.0 ( f23b72...fb09f5 )
by Daniel
04:42
created

Entry::setPackageName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 2
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
    public function setPackageName($packageName)
25
    {
26
        $this->packageName = $packageName;
27
    }
28
29
    /**
30
     * @return mixed
31
     */
32
    public function getPackageName()
33
    {
34
        return $this->packageName;
35
    }
36
37
    /**
38
     * @param \MagentoHackathon\Composer\Magento\Deploystrategy\DeploystrategyAbstract $deployStrategy
39
     */
40
    public function setDeployStrategy($deployStrategy)
41
    {
42
        $this->deployStrategy = $deployStrategy;
43
    }
44
45
    /**
46
     * @return \MagentoHackathon\Composer\Magento\Deploystrategy\DeploystrategyAbstract
47
     */
48
    public function getDeployStrategy()
49
    {
50
        return $this->deployStrategy;
51
    }
52
}
53