aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/WidgetContainer.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/classes/WidgetContainer.php')
-rw-r--r--lib/classes/WidgetContainer.php18
1 files changed, 8 insertions, 10 deletions
diff --git a/lib/classes/WidgetContainer.php b/lib/classes/WidgetContainer.php
index 39665a9..b4aaa8c 100644
--- a/lib/classes/WidgetContainer.php
+++ b/lib/classes/WidgetContainer.php
@@ -10,6 +10,14 @@
abstract class WidgetContainer
{
/**
+ * Protected constructor to ensure that the singleton Get() method is always
+ * used.
+ *
+ * @see WidgetContainer::Get
+ */
+ abstract protected function __construct();
+
+ /**
* The singleton instance of the container
*/
protected static $instances = null;
@@ -31,16 +39,6 @@ abstract class WidgetContainer
}
/**
- * Private constructor to ensure that the singleton Get() method is always
- * used.
- *
- * @see WidgetContainer::Get
- */
- protected function __construct()
- {
- }
-
- /**
* Contains the widgets of the container
*/
protected $widgets = [];