loadDefinition(FeatureProducerDefinition::class); } public function filterByFeature(Feature $feature): self { $this->andWhere(['id_feature' => $feature->id]); return $this; } }