Passed
Push — master ( 305c34...2bac56 )
by y
01:32
created

Value   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace Helix\DB\SQL;
4
5
use Helix\DB;
6
7
/**
8
 * Represents a value expression. Produces various transformations.
9
 */
10
class Value extends Expression implements ValueInterface {
11
12
    use ComparisonTrait;
13
    use AggregateTrait;
14
15
    public function __construct (DB $db, string $expression) {
16
        $this->db = $db;
17
        parent::__construct($expression);
18
    }
19
}