summaryrefslogtreecommitdiffstats
path: root/library/Reporting/Dimensions.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Reporting/Dimensions.php')
-rw-r--r--library/Reporting/Dimensions.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/library/Reporting/Dimensions.php b/library/Reporting/Dimensions.php
new file mode 100644
index 0000000..dfedbc8
--- /dev/null
+++ b/library/Reporting/Dimensions.php
@@ -0,0 +1,21 @@
+<?php
+// Icinga Reporting | (c) 2018 Icinga GmbH | GPLv2
+
+namespace Icinga\Module\Reporting;
+
+trait Dimensions
+{
+ protected $dimensions;
+
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+
+ public function setDimensions(array $dimensions)
+ {
+ $this->dimensions = $dimensions;
+
+ return $this;
+ }
+}