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

GeneratorCommand::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 4
ccs 3
cts 3
cp 1
crap 1
rs 10
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