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\Product\RotatingProduct;
-
- use domain\_\AbstractRepositoryQuery;
- use domain\Product\Rotating\Rotating;
-
- class RotatingProductRepositoryQuery extends AbstractRepositoryQuery
- {
- protected RotatingProductDefinition $definition;
-
- public function loadDependencies(): void
- {
- $this->loadDefinition(RotatingProductDefinition::class);
- }
-
- public function filterByRotating(Rotating $rotating): self
- {
- $this->andWhere(['rotating_product.id_rotating' => $rotating->getId()]);
- return $this;
- }
- }
|