From b5d7637476e3cf49145351df99f10d0c384a1df7 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Fri, 25 Oct 2024 11:16:20 +1100 Subject: [PATCH] Create report element --- src/Element/Dashboard/ReportDefinition.php | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/Element/Dashboard/ReportDefinition.php diff --git a/src/Element/Dashboard/ReportDefinition.php b/src/Element/Dashboard/ReportDefinition.php new file mode 100644 index 000000000..06fb2e68c --- /dev/null +++ b/src/Element/Dashboard/ReportDefinition.php @@ -0,0 +1,40 @@ +displayAs('static') + ; + } + + /** + * displayAs type for this field + */ + public function displayAs(string $type): ReportDefinition + { + $this->type($type); + + return $this; + } +}