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\Subscription\ProductSubscription;
-
- use domain\Subscription\Subscription\Subscription;
- use domain\_\AbstractRepositoryQuery;
-
- class ProductSubscriptionRepositoryQuery extends AbstractRepositoryQuery
- {
- protected ProductSubscriptionDefinition $definition;
-
- public function loadDependencies(): void
- {
- $this->loadDefinition(ProductSubscriptionDefinition::class);
- }
-
- public function filterBySubscription(Subscription $subscription): self
- {
- $this->andWhere(['id_subscription' => $subscription->id]);
- return $this;
- }
- }
|