Completed
Push — master ( e327bd...2b2b50 )
by Nikolas
03:41
created

ValueResult::getValue()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace rtens\domin\execution;
3
4
class ValueResult implements ExecutionResult {
5
6
    private $value;
7
8
    public function __construct($value) {
9
        $this->value = $value;
10
    }
11
12
    /**
13
     * @return mixed
14
     */
15
    public function getValue() {
16
        return $this->value;
17
    }
18
}