Completed
Push — master ( 797142...deecf0 )
by Luis
06:15 queued 02:52
created

GeneratorCommand   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 9
ccs 3
cts 3
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 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
8
namespace PhUml\Console\Commands;
9
10
use PhUml\Console\ProgressDisplay;
11
use Symfony\Component\Console\Command\Command;
12
13
class GeneratorCommand extends Command
14
{
15
    /** @var ProgressDisplay */
16
    protected $display;
17
18 36
    public function __construct(ProgressDisplay $display)
19
    {
20 36
        parent::__construct(null);
21 36
        $this->display = $display;
22 36
    }
23
}
24