/**
  * Decorator constructor.
  *
  * @param WidgetManagerDashboard $widgetManager
  */
 public function __construct(WidgetManagerDashboard $widgetManager)
 {
     $this->relatedWidgets = new Collection();
     $this->widgetManager = $widgetManager;
     $this->type = $this->widgetManager->getTypeByClassName(get_called_class());
 }