Completed
Push — 0.4 ( bc6dc3...283c8e )
by jean
9s
created

AbstractProcessNotifier   A

Complexity

Total Complexity 9

Size/Duplication

Total Lines 45
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 10
dl 0
loc 45
rs 10
c 0
b 0
f 0
wmc 9

9 Methods

Rating   Name   Duplication   Size   Complexity  
A onStartIterableProcess() 0 3 1
A onFailedLoop() 0 3 1
A onExecutedProcess() 0 3 1
A onEndProcess() 0 3 1
A onSuccessLoop() 0 3 1
A onEndRunner() 0 3 1
A onUpdateIterableProcess() 0 3 1
A onStartRunner() 0 3 1
A onStartProcess() 0 3 1
1
<?php
2
3
namespace Darkilliant\ProcessBundle\ProcessNotifier;
4
5
use Darkilliant\ProcessBundle\State\ProcessState;
6
use Darkilliant\ProcessBundle\Step\StepInterface;
7
8
/**
9
 * @codeCoverageIgnore
10
 */
11
abstract class AbstractProcessNotifier implements ProcessNotifierInterface
12
{
13
    public function onStartProcess(ProcessState $state, StepInterface $step)
14
    {
15
        return;
16
    }
17
18
    public function onStartIterableProcess(ProcessState $state, StepInterface $step)
19
    {
20
        return;
21
    }
22
23
    public function onUpdateIterableProcess(ProcessState $state, StepInterface $step)
24
    {
25
        return;
26
    }
27
28
    public function onEndProcess(ProcessState $state, StepInterface $step)
29
    {
30
        return;
31
    }
32
33
    public function onExecutedProcess(ProcessState $state, StepInterface $step)
34
    {
35
        return;
36
    }
37
38
    public function onSuccessLoop(ProcessState $state, StepInterface $step)
39
    {
40
        return;
41
    }
42
43
    public function onFailedLoop(ProcessState $state, StepInterface $step)
44
    {
45
        return;
46
    }
47
48
    public function onStartRunner(ProcessState $state)
49
    {
50
        return;
51
    }
52
53
    public function onEndRunner(ProcessState $state, bool $successfull)
54
    {
55
        return;
56
    }
57
}
58