*/ class ReminderStore extends SovReminderStore { protected MerchantInterface $merchant; public function setMerchant(MerchantInterface $merchant) { $this->merchant = $merchant; } public function getFoo($query = null) { $query = $this->query->create(); if ($this->merchant) { $query->filterByMerchant($this->merchant); } return parent::getFoo($query); } }