MCPcopy Create free account
hub / github.com/CoderOpen/waimai / HomeController

Class HomeController

app/Admin/Controllers/HomeController.php:11–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9use Encore\Admin\Layout\Row;
10
11class HomeController extends Controller
12{
13 public function index(Content $content)
14 {
15 return $content
16 ->title('Dashboard')
17 ->description('Description...')
18 ->row(Dashboard::title())
19 ->row(function (Row $row) {
20
21 $row->column(4, function (Column $column) {
22 $column->append(Dashboard::environment());
23 });
24
25 $row->column(4, function (Column $column) {
26 $column->append(Dashboard::extensions());
27 });
28
29 $row->column(4, function (Column $column) {
30 $column->append(Dashboard::dependencies());
31 });
32 });
33 }
34}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected