StepLogout   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCommand() 0 7 1
1
<?php
2
/**
3
 * Step to log off a Cloud Foundry instance.
4
 */
5
6
namespace Graviton\Deployment\Steps\CloudFoundry;
7
8
/**
9
 * @author   List of contributors <https://github.com/libgraviton/deploy-scripts/graphs/contributors>
10
 * @license  http://opensource.org/licenses/gpl-license.php GNU Public License
11
 * @link     http://swisscom.ch
12
 */
13
final class StepLogout extends AbstractStep
14
{
15
    /**
16
     * returns the command
17
     *
18
     * @return array
19
     */
20 5
    public function getCommand()
21
    {
22
        return array(
23 5
            $this->configuration['cf_bin'],
24
            'logout'
25 5
        );
26
    }
27
}
28