Controller   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 15
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php namespace Arcanesoft\Foundation\Http\Controllers\Admin\System;
2
3
use Arcanesoft\Foundation\Http\Controllers\Admin\Controller as BaseController;
4
5
/**
6
 * Class     Controller
7
 *
8
 * @package  Arcanesoft\Foundation\Http\Controllers\Admin\System
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
abstract class Controller extends BaseController
12
{
13
    /* -----------------------------------------------------------------
14
     |  Constructor
15
     | -----------------------------------------------------------------
16
     */
17
18
    /**
19
     * Controller constructor.
20
     */
21
    public function __construct()
22
    {
23
        parent::__construct();
24
25
        $this->addBreadcrumbRoute(trans('foundation::sidebar.system'), 'admin::foundation.system.information.index');
0 ignored issues
show
Bug introduced by
The function trans was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

25
        $this->addBreadcrumbRoute(/** @scrutinizer ignore-call */ trans('foundation::sidebar.system'), 'admin::foundation.system.information.index');
Loading history...
26
    }
27
}
28