Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Lc\CaracoleBundle\Repository\Merchant;
  3. use Lc\CaracoleBundle\Repository\AbstractStore;
  4. use Lc\SovBundle\Repository\RepositoryQueryInterface;
  5. class MerchantStore extends AbstractStore
  6. {
  7. protected MerchantRepositoryQuery $query;
  8. public function __construct(MerchantRepositoryQuery $query)
  9. {
  10. $this->query = $query;
  11. }
  12. public function orderByDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
  13. {
  14. $query->orderBy('id');
  15. return $query;
  16. }
  17. public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
  18. {
  19. $query->filterIsOnlineAndOffline();
  20. return $query;
  21. }
  22. public function relationsDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
  23. {
  24. return $query;
  25. }
  26. }