StateSynchroniser   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: arthur
5
 * Date: 24.02.19
6
 * Time: 19:11.
7
 */
8
9
namespace Modules\Synchronisation\Synchronisers;
10
11
class StateSynchroniser
12
{
13
    protected $initialState;
14
    protected $finalState;
15
16
    /**
17
     * StateSynchroniser constructor.
18
     * @param string $initialState
19
     * @param string $finalState
20
     */
21
    public function __construct(string $initialState, string $finalState)
22
    {
23
        $this->initialState = $initialState;
24
        $this->finalState = $finalState;
25
    }
26
}
27