IntermediateContext   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
/**
3
 * Created by gerk on 02.12.17 10:13
4
 */
5
6
namespace PeekAndPoke\Component\Psi\Solver;
7
8
/**
9
 *
10
 *
11
 * @author Karsten J. Gerber <[email protected]>
12
 */
13
class IntermediateContext
14
{
15
    /**
16
     * A storage where each operation can store custom data
17
     *
18
     * @var \SplObjectStorage
19
     */
20
    public $memory;
21
22
    /**
23
     * Written by Intermediate operations to indicate whether an element of the stream is to be used
24
     *
25
     * @var bool
26
     */
27
    public $outUseItem = true;
28
29
    /**
30
     * Written by Intermediate operations to indicate whether to continue with the next element or not
31
     *
32
     * @var bool
33
     */
34
    public $outCanContinue = true;
35
36 100
    public function __construct()
37
    {
38 100
        $this->memory = new \SplObjectStorage();
39 100
    }
40
}
41