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

ValueResult   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 15
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
}