loadDefinition(UserUserGroupDefinition::class); } public function filterByUser(User $user): self { $this->andWhere(['id_user' => $user->id]); return $this; } }