AbstractStep   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 14
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 *  base class to gather basic information for a step.
4
 */
5
6
namespace Graviton\Deployment\Steps\CloudFoundry;
7
8
use Graviton\Deployment\Steps\StepInterface;
9
10
/**
11
 * @author   List of contributors <https://github.com/libgraviton/deploy-scripts/graphs/contributors>
12
 * @license  http://opensource.org/licenses/gpl-license.php GNU Public License
13
 * @link     http://swisscom.ch
14
 */
15
abstract class AbstractStep implements StepInterface
16
{
17
    /** @var array Current application configuration.*/
18
    protected $configuration;
19
20
21
    /**
22
     * @param array $configuration Current application configuration.
23
     */
24 27
    public function __construct(array $configuration)
25
    {
26 27
        $this->configuration = $configuration;
27 27
    }
28
}
29