Completed
Push — master ( 1087ad...2bc4d2 )
by ARCANEDEV
8s
created

SettingsRoutes   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
c 0
b 0
f 0
dl 0
loc 17
rs 10
ccs 5
cts 5
cp 1
wmc 1
lcom 0
cbo 1

1 Method

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