Passed
Push — master ( 53821d...e70153 )
by Phillip
03:50
created

AbstractShopwareDefinition   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 15
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A env() 0 4 1
1
<?php
2
3
4
namespace Deployee\Plugins\ShopwareTasks\Definitions;
5
6
use Deployee\Plugins\Deploy\Definitions\Tasks\TaskDefinitionInterface;
7
8
abstract class AbstractShopwareDefinition implements TaskDefinitionInterface
9
{
10
    /**
11
     * @var string
12
     */
13
    protected $env = 'production';
14
15
    /**
16
     * @param string $env
17
     * @return $this
18
     */
19
    public function env(string $env)
20
    {
21
        $this->env = $env;
22
        return $this;
23
    }
24
}