Passed
Push — master ( e819cb...ec2698 )
by Andreas
24:03
created

transientnode::get_value()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * @copyright CONTENT CONTROL GmbH, http://www.contentcontrol-berlin.de
4
 */
5
6
namespace midcom\datamanager\storage;
7
8
/**
9
 * Experimental storage class
10
 */
11
class transientnode implements node
12
{
13
    private $value;
14
15
    /**
16
     * {@inheritdoc}
17
     */
18 17
    public function get_value()
19
    {
20 17
        return $this->value;
21
    }
22
23
    /**
24
     * {@inheritdoc}
25
     */
26 10
    public function set_value($value)
27
    {
28 10
        $this->value = $value;
29 10
    }
30
31 3
    public function save()
32
    {
33 3
    }
34
}
35