protected function groups($user) { return $this->hasMany($user, 'Flarum\\Api\\Serializer\\GroupSerializer'); }