|
1234567891011121314151617181920212223242526272829303132 |
- <?php
-
- namespace Lc\CaracoleBundle\Repository\Order;
-
- use Lc\CaracoleBundle\Repository\AbstractStore;
- use Lc\SovBundle\Repository\RepositoryQueryInterface;
-
- class OrderProductReductionCatalogStore extends AbstractStore
- {
- protected OrderProductReductionCatalogRepositoryQuery $query;
-
- public function __construct(OrderProductReductionCatalogRepositoryQuery $query)
- {
- $this->query = $query;
- }
-
- public function orderByDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
- {
- $query->orderBy('id');
- return $query;
- }
-
- public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
- {
- return $query;
- }
-
- public function relationsDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
- {
- return $query;
- }
- }
|