InfoCommand   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
c 0
b 0
f 0
lcom 0
cbo 2
dl 0
loc 11
rs 10

2 Methods

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