\App\Admin\Metrics\ExamplesSessions

Summary

Methods
Properties
Constants
handle()
withChart()
withContent()
No public properties found
No constants found
init()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

handle()

handle(\Illuminate\Http\Request  $request) : mixed|void

处理请求

Parameters

\Illuminate\Http\Request $request

Returns

mixed|void —

withChart()

withChart(array  $data) : $this

设置图表数据.

Parameters

array $data

Returns

$this —

withContent()

withContent(string  $title, string  $value, string  $style = 'success') : $this

设置卡片内容.

Parameters

string $title
string $value
string $style

Returns

$this —

init()

init() : mixed

初始化卡片内容

Returns

mixed —