You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- namespace domain\Setting;
-
- use domain\_\AbstractRepositoryQuery;
-
- class SettingRepositoryQuery extends AbstractRepositoryQuery
- {
- protected SettingDefinition $definition;
-
- public function loadDependencies(): void
- {
- $this->loadDefinition(SettingDefinition::class);
- }
-
- public function filterProducerIsNull(): self
- {
- $this->andWhere(['id_producer' => null]);
- return $this;
- }
-
- public function filterByName(string $name): self
- {
- $this->andWhere(['name' => $name]);
- return $this;
- }
- }
|