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

DashboardController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 8 1
1
<?php namespace Arcanesoft\Foundation\Http\Controllers\Admin;
2
3
/**
4
 * Class     DashboardController
5
 *
6
 * @package  Arcanesoft\Foundation\Http\Controllers\Admin
7
 * @author   ARCANEDEV <[email protected]>
8
 */
9
class DashboardController extends Controller
10
{
11
    /* ------------------------------------------------------------------------------------------------
12
     |  Main Functions
13
     | ------------------------------------------------------------------------------------------------
14
     */
15
    /**
16
     * Show the foundation dashboard.
17
     *
18
     * @return string
19
     */
20
    public function index()
21
    {
22
        $this->setCurrentPage('foundation-home');
23
        $this->setTitle($title = 'Dashboard');
24
        $this->addBreadcrumb($title);
25
26
        return $this->view('admin.dashboard');
27
    }
28
}
29