Completed
Push — master ( 71c1d9...f78dbb )
by ARCANEDEV
03:55
created

DashboardRoute   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 17
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A map() 0 5 1
1
<?php namespace Arcanesoft\Foundation\Http\Routes\Admin;
2
3
use Arcanedev\Support\Bases\RouteRegister;
4
use Illuminate\Contracts\Routing\Registrar;
5
6
/**
7
 * Class     DashboardRoute
8
 *
9
 * @package  Arcanesoft\Foundation\Http\Routes\Admin
10
 * @author   ARCANEDEV <[email protected]>
11
 */
12
class DashboardRoute extends RouteRegister
13
{
14
    /* ------------------------------------------------------------------------------------------------
15
     |  Main Functions
16
     | ------------------------------------------------------------------------------------------------
17
     */
18
    /**
19
     * Map routes.
20
     *
21
     * @param  \Illuminate\Contracts\Routing\Registrar  $router
22
     */
23 12
    public function map(Registrar $router)
24
    {
25 12
        $this->get('/', 'DashboardController@index')
26 12
             ->name('home'); // admin::foundation.home
27 12
    }
28
}
29