Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

22 rindas
541B

  1. <?php
  2. namespace common\logic\Feature\FeatureProducer;
  3. use common\logic\AbstractRepositoryQuery;
  4. use common\logic\Feature\Feature\Feature;
  5. class FeatureProducerRepositoryQuery extends AbstractRepositoryQuery
  6. {
  7. protected FeatureProducerDefinition $definition;
  8. public function loadDependencies(): void
  9. {
  10. $this->loadDefinition(FeatureProducerDefinition::class);
  11. }
  12. public function filterByFeature(Feature $feature): self
  13. {
  14. $this->andWhere(['id_feature' => $feature->id]);
  15. return $this;
  16. }
  17. }