Completed
Push — develop ( 13c43e...daa4a6 )
by Nate
03:53
created

DebugOptionsTrait::debugOptions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
/**
4
 * @copyright  Copyright (c) Flipbox Digital Limited
5
 * @license    https://github.com/flipboxfactory/craft-ember/blob/master/LICENSE
6
 * @link       https://github.com/flipboxfactory/craft-ember/
7
 */
8
9
namespace flipbox\craft\ember\cli;
10
11
trait DebugOptionsTrait
12
{
13
    /**
14
     * @var bool
15
     * Prints verbose output
16
     * example: -d=1
17
     */
18
    public $debug = false;
19
20
    /**
21
     * @inheritdoc
22
     */
23
    protected function debugOptions()
24
    {
25
        return [
26
            'debug'
27
        ];
28
    }
29
30
    /**
31
     * @inheritdoc
32
     */
33
    protected function debugOptionAliases()
34
    {
35
        return [
36
            'd' => 'debug',
37
        ];
38
    }
39
}
40