public function getGroups() { $groups = $this->app->memory->get("cockpit.regions.groups", []); return json_encode($groups); }