/**
  * Returns a new sidemenu group.
  *
  * @param array|ArrayAccess $data The class depdendencies.
  */
 public function __construct($data)
 {
     if (isset($data['sidemenu'])) {
         $this->setSidemenu($data['sidemenu']);
     }
     parent::__construct($data);
 }
 /**
  * Return a new dashboard.
  *
  * @param array|\ArrayAccess $data The class dependencies.
  */
 public function __construct($data = null)
 {
     $this->setWidgetBuilder($data['widget_builder']);
     /** Satisfies {@see \Charcoal\Ui\Layout\LayoutAwareInterface} */
     $this->setLayoutBuilder($data['layout_builder']);
     parent::__construct($data);
 }
 /**
  * Returns a new form group.
  *
  * @param array|\ArrayAccess $data The class depdendencies.
  */
 public function __construct($data)
 {
     parent::__construct($data);
     if (isset($data['form'])) {
         $this->setForm($data['form']);
     }
     /** Satisfies {@see \Charcoal\Ui\FormGroup\FormGroupTrait} */
     $this->setFormInputBuilder($data['form_input_builder']);
     /** Satisfies {@see \Charcoal\Ui\Layout\LayoutAwareInterface} */
     $this->setLayoutBuilder($data['layout_builder']);
 }