|
123456789101112131415161718192021 |
- <?php
-
- namespace domain\User\UserGroup;
-
- use domain\_\AbstractRepositoryQuery;
-
- class UserGroupRepositoryQuery extends AbstractRepositoryQuery
- {
- protected UserGroupDefinition $definition;
-
- public function loadDependencies(): void
- {
- $this->loadDefinition(UserGroupDefinition::class);
- }
-
- public function filterByName(string $name): self
- {
- $this->andWhere(['name' => $name]);
- return $this;
- }
- }
|