public function __construct(AbstractWidgetFactory $widgetFactory) { $this->widgetFactory = $widgetFactory; }