ValueResult   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 15
c 0
b 0
f 0
wmc 2
lcom 0
cbo 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getValue() 0 3 1
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
}