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.
|
- <?php
-
- namespace domain\Feature\Feature;
-
- use domain\_\AbstractRepositoryQuery;
-
- class FeatureRepositoryQuery extends AbstractRepositoryQuery
- {
- protected FeatureDefinition $definition;
-
- public function loadDependencies(): void
- {
- $this->loadDefinition(FeatureDefinition::class);
- }
-
- public function filterByAlias(string $alias): self
- {
- $this->andWhere(['alias' => $alias]);
- return $this;
- }
-
- public function filterIsPaidFeature(): self
- {
- $this->andWhere(['is_paid_feature' => true]);
- return $this;
- }
-
-
- }
|