CommandTest::configure()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace LuisMulinari\Consoleful\fixtures;
4
5
use Symfony\Component\Console\Command\Command;
6
use Symfony\Component\Console\Input\InputInterface;
7
use Symfony\Component\Console\Output\OutputInterface;
8
9
/**
10
 * Class CommandTest
11
 *
12
 * @author Luis Henrique Mulinari <[email protected]>
13
 */
14
class CommandTest extends Command
15
{
16
    protected function configure()
17
    {
18
        $this->setName('command:test')->setDescription('description');
19
    }
20
21
    protected function execute(InputInterface $input, OutputInterface $output)
22
    {
23
        $output->writeln('command');
24
    }
25
}
26