DeleteQuery   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 10
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A get() 0 3 1
1
<?php
2
3
namespace Rougin\Windstorm\Doctrine\Builder;
4
5
/**
6
 * Delete Query
7
 *
8
 * @package Windstorm
9
 * @author  Rougin Gutib <[email protected]>
10
 */
11
class DeleteQuery extends AbstractQuery
12
{
13
    /**
14
     * Returns the compiled SQL.
15
     *
16
     * @return string
17
     */
18 15
    public function get()
19
    {
20 15
        return 'DELETE FROM ' . $this->table() . $this->where();
21
    }
22
}
23