Completed
Push — master ( b4fb45...fd4491 )
by dima
02:45
created

InfoCommand::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
3
namespace Frameworkless\Console\Commands;
4
5
6
use Symfony\Component\Console\Command\Command;
7
use Symfony\Component\Console\Input\InputInterface;
8
use Symfony\Component\Console\Output\OutputInterface;
9
/**
10
 * Description of HelloWorldCommand
11
 *
12
 * @author Dmitriy
13
 */
14
class InfoCommand extends Command
15
{
16
    protected function configure()
17
    {
18
        $this->setName('info')
19
            ->setDescription('Outputs \'Info about command\'');
20
    }
21
22
    protected function execute(InputInterface $input, OutputInterface $output)
23
    {
24
        $output->writeln('This is frameworkless console');
25
    }
26
}
27