Completed
Push — master ( 389031...756eed )
by ARCANEDEV
9s
created

DashboardController   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A index() 0 6 1
1
<?php namespace Arcanesoft\Seo\Http\Controllers\Admin;
2
3
/**
4
 * Class     DashboardController
5
 *
6
 * @package  Arcanesoft\Seo\Http\Controllers\Admin
7
 * @author   ARCANEDEV <[email protected]>
8
 */
9
class DashboardController extends Controller
10
{
11
    /* ------------------------------------------------------------------------------------------------
12
     |  Constructor
13
     | ------------------------------------------------------------------------------------------------
14
     */
15
    /**
16
     * DashboardController constructor.
17
     */
18
    public function __construct()
19
    {
20
        parent::__construct();
21
22
        $this->setCurrentPage('seo-dashboard');
23
    }
24
25
    /* ------------------------------------------------------------------------------------------------
26
     |  Main Functions
27
     | ------------------------------------------------------------------------------------------------
28
     */
29
    public function index()
30
    {
31
        $this->setTitle('Seo');
32
33
        return $this->view('admin.dashboard');
34
    }
35
}
36