您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

MerchantStore.php 526B

3 年前
3 年前
3 年前
3 年前
3 年前
123456789101112131415161718192021222324
  1. <?php
  2. namespace Lc\CaracoleBundle\Repository\Merchant;
  3. use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
  4. use Lc\SovBundle\Repository\AbstractStore;
  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 getOnline($query = null)
  13. {
  14. $query = $this->createQuery($query);
  15. $query->filterIsOnline();
  16. return $query->find();
  17. }
  18. }