Completed
Pull Request — master (#34)
by jean
03:05
created

WhileStep   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 25
ccs 10
cts 10
cp 1
rs 10
c 0
b 0
f 0
wmc 5

5 Methods

Rating   Name   Duplication   Size   Complexity  
A execute() 0 3 1
A getProgress() 0 3 1
A count() 0 3 1
A next() 0 3 1
A valid() 0 3 1
1
<?php
2
3
namespace Darkilliant\ProcessBundle\Step;
4
5
use Darkilliant\ProcessBundle\State\ProcessState;
6
7
class WhileStep extends AbstractConfigurableStep implements IterableStepInterface
8
{
9 1
    public function execute(ProcessState $state)
10
    {
11 1
        return;
12
    }
13
14 1
    public function valid(ProcessState $state)
15
    {
16 1
        return true;
17
    }
18
19 1
    public function next(ProcessState $state)
20
    {
21 1
        return;
22
    }
23
24 1
    public function count(ProcessState $state)
25
    {
26 1
        return 0;
27
    }
28
29 1
    public function getProgress(ProcessState $state)
30
    {
31 1
        return 0;
32
    }
33
}
34