Completed
Push — symfony-console-application ( c3ee2a...797142 )
by Luis
11:30
created

PhUmlApplication::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
1
<?php
2
/**
3
 * PHP version 7.1
4
 *
5
 * This source file is subject to the license that is bundled with this package in the file LICENSE.
6
 */
7
namespace PhUml\Console;
8
9
use PhUml\Console\Commands\GenerateClassDiagramCommand;
10
use PhUml\Console\Commands\GenerateStatisticsCommand;
11
use Symfony\Component\Console\Application;
12
13
class PhUmlApplication extends Application
14
{
15
    /**
16
     * @throws \Symfony\Component\Console\Exception\LogicException
17
     */
18
    public function __construct()
19
    {
20
        parent::__construct('phUML', '1.0.0');
21
        $this->add(new GenerateClassDiagramCommand());
22
        $this->add(new GenerateStatisticsCommand());
23
    }
24
}
25