InfoCommand::execute()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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