Skip to content

Commit 7662e28

Browse files
committed
Adds widgetClass
1 parent 6b365ff commit 7662e28

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Element/Dash/ReportDefinition.php

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* @method ReportDefinition icon(string $icon) icon specifies an icon name for this report
1414
* @method ReportDefinition dimension(string $dimension) dimension name
1515
* @method ReportDefinition dataSource(string $dataSource) dataSource class name for obtaining report data
16+
* @method ReportDefinition widgetClass(string $widgetClass) widgetClass class name for the report widget
1617
* @method ReportDefinition metrics(array $metrics) metrics to display with the report
1718
* @method ReportDefinition dateStart(string $dateStart) dateStart
1819
* @method ReportDefinition dateEnd(string $dateEnd) dateEnd
@@ -32,6 +33,7 @@ protected function initDefaultValues()
3233
{
3334
$this
3435
->displayAs('static')
36+
->metrics([])
3537
;
3638
}
3739

0 commit comments

Comments
 (0)