loadDefinition(UserGroupDefinition::class); } public function filterByName(string $name): self { $this->andWhere(['name' => $name]); return $this; } }