Query   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 5
c 1
b 0
f 0
dl 0
loc 20
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
namespace Fyuze\Database;
3
4
class Query
5
{
6
    /**
7
     * @var Db
8
     */
9
    protected $db;
10
11
    /**
12
     * @var string
13
     */
14
    protected $table;
15
16
    /**
17
     * @param DB $database
18
     * @param $table
19
     */
20 1
    public function __construct(DB $database, $table)
21
    {
22 1
        $this->db = $database;
23 1
        $this->table = $table;
24
    }
25
}
26