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; } }