RouteListCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 26
ccs 3
cts 3
cp 1
rs 10
c 1
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace LaravelPlus\Extension\Commands;
4
5
use Illuminate\Console\Command;
6
use Illuminate\Contracts\Foundation\Application;
7
use Illuminate\Foundation\Console\RouteListCommand as BaseCommand;
8
9
class RouteListCommand extends BaseCommand
10
{
11
    /**
12
     * The console command name.
13
     *
14
     * @var string
15
     */
16
    protected $name = 'route';
17
18
    /**
19
     * The console command description.
20
     *
21
     * @var string
22
     */
23
    protected $description = '[+] Shortcut to `route:list`';
24
25
    /**
26
     * Create a new route command instance.
27
     *
28
     * @param \Illuminate\Contracts\Foundation\Application $app
29
     */
30 2
    public function __construct(Application $app)
31
    {
32 2
        parent::__construct($app['router']);
33 2
    }
34
}
35