Completed
Push — master ( a938d7...a6e8a0 )
by Jacob
27s
created

TestTask   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 18
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getKey() 0 4 1
A run() 0 3 1
1
<?php
2
3
namespace As3\Bundle\PostProcessBundle\Tests;
4
5
use As3\Bundle\PostProcessBundle\Task\TaskInterface;
6
7
class TestTask implements TaskInterface
8
{
9
    private $key;
10
11
    public function __construct($key)
12
    {
13
        $this->key = $key;
14
    }
15
16
    public function getKey()
17
    {
18
        return $this->key;
19
    }
20
21
    public function run()
22
    {
23
    }
24
}
25