Console   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 19
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setConsole() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Packagist Mirror.
7
 *
8
 * For the full license information, please view the LICENSE.md
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Webs\Mirror;
13
14
use Symfony\Component\Console\Input\InputInterface;
15
use Symfony\Component\Console\Output\OutputInterface;
16
17
/**
18
 * Trait to gzip operations.
19
 *
20
 * @author Webysther Nunes <[email protected]>
21
 */
22
trait Console
23
{
24
    /**
25
     * @var InputInterface
26
     */
27
    protected $input;
28
29
    /**
30
     * @var OutputInterface
31
     */
32
    protected $output;
33
34
    /**
35
     * {@inheritdoc}
36
     */
37 1
    public function setConsole(InputInterface $input, OutputInterface $output):void
38
    {
39 1
        $this->input = $input;
40 1
        $this->output = $output;
41 1
    }
42
}
43