Completed
Push — master ( 5c55d7...79e99a )
by Fèvre
28s queued 15s
created

SettingController::delete()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 19
Code Lines 12

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 3
eloc 12
c 1
b 0
f 0
nc 3
nop 1
dl 0
loc 19
rs 9.8666
1
<?php
2
namespace Xetaravel\Http\Controllers\Admin;
3
4
use Illuminate\View\View;
5
use Xetaravel\Http\Controllers\Admin\Controller;
6
7
class SettingController extends Controller
8
{
9
    /**
10
     * Show all the settings.
11
     *
12
     * @return \Illuminate\View\View
13
     */
14
    public function index(): View
15
    {
16
        $breadcrumbs = $this->breadcrumbs->addCrumb(
17
            '<i class="fa-solid fa-wrench mr-2"></i> Manage Settings',
18
            route('admin.setting.index')
19
        );
20
21
        return view('Admin::Setting.index', compact('breadcrumbs'));
22
    }
23
}
24