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

28 行
620B

  1. <?php
  2. namespace Lc\CaracoleBundle\Repository\Reminder;
  3. use Lc\SovBundle\Repository\Reminder\ReminderStore as SovReminderStore;
  4. use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
  5. class TicketStore extends SovReminderStore
  6. {
  7. protected MerchantInterface $merchant;
  8. public function setMerchant(MerchantInterface $merchant)
  9. {
  10. $this->merchant = $merchant;
  11. }
  12. public function getFoo($query = null)
  13. {
  14. $query = $this->query->create();
  15. if ($this->merchant) {
  16. $query->filterByMerchant($this->merchant);
  17. }
  18. return parent::getFoo($query);
  19. }
  20. }