Completed
Push — master ( 46dbb7...9c8538 )
by Hong
02:48
created

Replace   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getType() 0 4 1
1
<?php
2
/**
3
 * Phossa Project
4
 *
5
 * PHP version 5.4
6
 *
7
 * @category  Library
8
 * @package   Phossa2\Query
9
 * @copyright Copyright (c) 2016 phossa.com
10
 * @license   http://mit-license.org/ MIT License
11
 * @link      http://www.phossa.com/
12
 */
13
/*# declare(strict_types=1); */
14
15
namespace Phossa2\Query\Dialect\Common;
16
17
/**
18
 * Replace
19
 *
20
 * @package Phossa2\Query
21
 * @author  Hong Zhang <[email protected]>
22
 * @version 2.0.0
23
 * @since   2.0.0 added
24
 */
25
class Replace extends Insert
26
{
27
    /**
28
     * {@inheritDoc}
29
     */
30
    protected function getType()/*# : string */
31
    {
32
        return 'REPLACE';
33
    }
34
}
35