ARCANESOFT /
Foundation
| 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 | | Constructor |
||||
| 13 | | ----------------------------------------------------------------- |
||||
| 14 | */ |
||||
| 15 | |||||
| 16 | /** |
||||
| 17 | * DashboardController constructor. |
||||
| 18 | */ |
||||
| 19 | public function __construct() |
||||
| 20 | { |
||||
| 21 | parent::__construct(); |
||||
| 22 | |||||
| 23 | $this->setCurrentPage('foundation-home'); |
||||
| 24 | $this->addBreadcrumbRoute(trans('foundation::dashboard.titles.dashboard'), 'admin::foundation.home'); |
||||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||||
| 25 | } |
||||
| 26 | |||||
| 27 | /* ----------------------------------------------------------------- |
||||
| 28 | | Main Methods |
||||
| 29 | | ----------------------------------------------------------------- |
||||
| 30 | */ |
||||
| 31 | |||||
| 32 | /** |
||||
| 33 | * Show the foundation dashboard. |
||||
| 34 | * |
||||
| 35 | * @return string |
||||
| 36 | */ |
||||
| 37 | public function index() |
||||
| 38 | { |
||||
| 39 | $this->setTitle(trans('foundation::dashboard.titles.dashboard')); |
||||
|
0 ignored issues
–
show
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
Loading history...
|
|||||
| 40 | |||||
| 41 | return $this->view('admin.dashboard'); |
||||
| 42 | } |
||||
| 43 | } |
||||
| 44 |