InformationController::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php namespace Arcanesoft\Foundation\Http\Controllers\Admin\System;
2
3
/**
4
 * Class     InformationController
5
 *
6
 * @package  Arcanesoft\Foundation\Http\Controllers\Admin\System
7
 * @author   ARCANEDEV <[email protected]>
8
 */
9
class InformationController extends Controller
10
{
11
    /* -----------------------------------------------------------------
12
     |  Constructor
13
     | -----------------------------------------------------------------
14
     */
15
16
    /**
17
     * InformationController constructor.
18
     */
19
    public function __construct()
20
    {
21
        parent::__construct();
22
23
        $this->setCurrentPage('foundation-system-information');
24
        $this->addBreadcrumbRoute('Information', 'admin::foundation.system.information.index');
25
    }
26
27
    /* -----------------------------------------------------------------
28
     |  Main Methods
29
     | -----------------------------------------------------------------
30
     */
31
32
    public function index()
33
    {
34
        $this->setTitle('System information');
35
36
        return $this->view('admin.system.information.index');
37
    }
38
}
39