Completed
Push — 1.1 ( f00cd7...edfb57 )
by David
8s
created

Then   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getOperatorSymbol() 0 4 1
1
<?php
2
3
namespace SQLParser\Node;
4
5
/**
6
 * This class represents a THEN (in a CASE WHEN ... THEN ... END construct)
7
 *
8
 * @author David Négrier <[email protected]>
9
 */
10
class Then extends AbstractTwoOperandsOperator
11
{
12
    /**
13
     * Returns the symbol for this operator.
14
     *
15
     * @return string
16
     */
17
    protected function getOperatorSymbol()
18
    {
19
        return 'THEN';
20
    }
21
}
22