Passed
Push — master ( 1b5df6...213867 )
by Sebastian
13:22
created

Mailcode_Commands_Command_If::getVariable()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 2
eloc 3
c 1
b 0
f 0
nc 2
nop 0
dl 0
loc 8
rs 10
1
<?php
2
/**
3
 * File containing the {@see Mailcode_Commands_Command_If} class.
4
 *
5
 * @package Mailcode
6
 * @subpackage Commands
7
 * @see Mailcode_Commands_Command_If
8
 */
9
10
declare(strict_types=1);
11
12
namespace Mailcode;
13
14
/**
15
 * Mailcode command: opening IF statement.
16
 *
17
 * @package Mailcode
18
 * @subpackage Commands
19
 * @author Sebastian Mordziol <[email protected]>
20
 */
21
class Mailcode_Commands_Command_If extends Mailcode_Commands_IfBase implements Mailcode_Commands_Command_Type_Opening
22
{
23
    public function getName() : string
24
    {
25
        return 'if';
26
    }
27
    
28
    public function getLabel() : string
29
    {
30
        return t('IF condition');
31
    }
32
}
33