Completed
Push — work-fleets ( b4179a...b8fd67 )
by SuperNova.WS
05:25
created

DbSqlLiteral   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 60%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 13
rs 10
c 1
b 0
f 0
ccs 3
cts 5
cp 0.6
wmc 2
lcom 0
cbo 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A __toString() 0 3 1
1
<?php
2
3
class DbSqlLiteral {
4
5
  public $function = '';
6
7 1
  public function __construct($function = '') {
8 1
    $this->function = $function;
9 1
  }
10
11
  public function __toString() {
12
    return $this->function;
13
  }
14
15
}
16