ReportServiceInterface
ReportServiceInterface.php
:
14
Interface
Entry point for every consumer of report data, in and outside this package.
Methods¶
hasReport()
¶
ReportServiceInterface.php
:
16
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $reportId | string | - | - |
Return values
bool
run()
¶
ReportServiceInterface.php
:
29
Runs the report with the given identifier. Parameters are coerced and validated against the report's definitions before the report executes.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $reportId | string | - | - |
| $parameters | array<string, mixed> | [] |
raw parameter values, e.g. query-string or JSON input |
Return values
array<int, object>
rows of ReportInterface::getRowClass()