StateSynchroniser::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 2
nc 1
nop 2
dl 0
loc 4
c 0
b 0
f 0
cc 1
ccs 0
cts 4
cp 0
crap 2
rs 10
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