Cancelled
Push — 1.1 ( edfb57...88a35e )
by David
593:13 queued 593:13
created

Then::getOperatorSymbol()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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