TransferApplication::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 10

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 8
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 10
ccs 8
cts 8
cp 1
rs 9.9332
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
/*
4
 * This file is part of Transfer.
5
 *
6
 * For the full copyright and license information, please view the LICENSE file located
7
 * in the root directory.
8
 */
9
10
namespace Transfer\Console;
11
12
use Symfony\Component\Console\Application;
13
use Transfer\Console\Command as Commands;
14
15
/**
16
 * Transfer application.
17
 */
18
class TransferApplication extends Application
19
{
20 1
    public function __construct()
21
    {
22 1
        parent::__construct('Transfer Command Line Interface', 'v1.0');
23
24 1
        $this->addCommands(array(
25 1
            new Commands\Manifest\ListCommand(),
26 1
            new Commands\Manifest\RunCommand(),
27 1
            new Commands\Manifest\DescribeCommand(),
28 1
        ));
29 1
    }
30
}
31