app = $app; } /** * Get the widget group object. * * @param $name * * @return WidgetGroup */ public function group($name) { if (isset($this->groups[$name])) { return $this->groups[$name]; } $this->groups[$name] = new WidgetGroup($name, $this->app); return $this->groups[$name]; } }