Completed
Push — master ( d49b30...493dae )
by Luis Henrique
03:07
created

CommandTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 12
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A configure() 0 4 1
A execute() 0 4 1
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