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

PhUmlApplication   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
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