Completed
Push — master ( 3b4c29...cea3ad )
by Maxime
01:41
created

RouteListCommand   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 4
dl 0
loc 12
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A execute() 0 3 1
A configure() 0 3 1
1
<?php
2
3
namespace Piface\Router\Command;
4
5
use Symfony\Component\Console\Command\Command;
6
use Symfony\Component\Console\Input\InputInterface;
7
use Symfony\Component\Console\Output\OutputInterface;
8
9
class RouteListCommand extends Command
10
{
11
    protected static $defaultName = 'route:list';
12
13
    protected function configure()
14
    {
15
        $this->setDescription('List of routes.');
16
    }
17
18
    protected function execute(InputInterface $input, OutputInterface $output)
19
    {
20
        $output->writeln(["Route list :"]);
21
    }
22
}
23