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

RawValue::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 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