\App\Admin\Metrics\ExamplesProductOrders

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(int  $finished, int  $pending, int  $rejected) : $this

卡片内容.

Parameters

int $finished
int $pending
int $rejected

Returns

$this —

init()

init() : mixed

初始化卡片内容

Returns

mixed —