SettingsRoutes   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

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

1 Method

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