RestDashboardController
in package
implements
IController
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- RestDashboardController constructor.
- getChannelsWithTurnoverAction() : array<string|int, mixed>
- thresholdAction() : array<string|int, mixed>|null
- turnoverAction() : array<string|int, mixed>
Properties
$dashboardService
private
DashboardService
$dashboardService
Methods
__construct()
RestDashboardController constructor.
public
__construct(DashboardService $dashboardService) : mixed
Parameters
- $dashboardService : DashboardService
getChannelsWithTurnoverAction()
public
getChannelsWithTurnoverAction(int $userId) : array<string|int, mixed>
Parameters
- $userId : int
Tags
Return values
array<string|int, mixed>thresholdAction()
public
thresholdAction(int $userId) : array<string|int, mixed>|null
Parameters
- $userId : int
Tags
Return values
array<string|int, mixed>|nullturnoverAction()
public
turnoverAction(int $userId) : array<string|int, mixed>
Parameters
- $userId : int