Completed
Push — 3.x-builder-quoter ( 067851 )
by Paul
02:03
created

RawValue   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 14
ccs 5
cts 5
cp 1
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A __toString() 0 4 1
1
<?php
2
namespace Aura\SqlQuery;
3
4
class RawValue
5
{
6
    protected $value;
7
8 46
    public function __construct($value)
9
    {
10 46
        $this->value = $value;
11 46
    }
12
13 46
    public function __toString()
14
    {
15 46
        return $this->value;
16
    }
17
}
18