class DashboardStatsController extends Controller

Properties

protected array $middleware

The middleware registered on the controller.

from  Controller

Methods

middleware(Closure|array|string $middleware, array $options = [])

Register middleware on the controller.

array
getMiddleware()

Get the middleware assigned to the controller.

mixed
callAction(string $method, array $parameters)

Execute an action on the controller.

mixed
__call(string $method, array $parameters)

Handle calls to missing methods on the controller.

__construct()

Create a new controller instance.

array
index()

Get the key performance stats for the dashboard.

int
totalProcessCount()

Get the total process count across all supervisors.

string
currentStatus()

Get the current status of Horizon.

int
totalPausedMasters()

Get the number of master supervisors that are currently paused.

Details

in Controller at line 20
ControllerMiddlewareOptions middleware(Closure|array|string $middleware, array $options = [])

Register middleware on the controller.

Parameters

Closure|array|string $middleware
array $options

Return Value

ControllerMiddlewareOptions

in Controller at line 35
array getMiddleware()

Get the middleware assigned to the controller.

Return Value

array

in Controller at line 43
mixed callAction(string $method, array $parameters)

Execute an action on the controller.

Parameters

string $method
array $parameters

Return Value

mixed

in Controller at line 53
mixed __call(string $method, array $parameters)

Handle calls to missing methods on the controller.

Parameters

string $method
array $parameters

Return Value

mixed

Exceptions

BadMethodCallException

in Controller at line 15
__construct()

Create a new controller instance.

at line 18
array index()

Get the key performance stats for the dashboard.

Return Value

array

at line 40
protected int totalProcessCount()

Get the total process count across all supervisors.

Return Value

int

at line 52
protected string currentStatus()

Get the current status of Horizon.

Return Value

string

at line 66
protected int totalPausedMasters()

Get the number of master supervisors that are currently paused.

Return Value

int