HttpCallResult   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 1
cbo 0
dl 0
loc 19
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A update() 0 4 1
A getValue() 0 4 1
1
<?php
2
3
namespace Behatch\HttpCall;
4
5
class HttpCallResult
6
{
7
    private $value;
8
9
    public function __construct($value)
10
    {
11
        $this->value = $value;
12
    }
13
14
    public function update($value)
15
    {
16
        $this->value = $value;
17
    }
18
19
    public function getValue()
20
    {
21
        return $this->value;
22
    }
23
}
24