You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
340B

  1. <?php
  2. namespace Lc\CaracoleBundle\Repository;
  3. trait StoreTrait
  4. {
  5. public function resetContext(): self
  6. {
  7. if(method_exists($this, 'setMerchant')) {
  8. $this->setMerchant(null);
  9. }
  10. if(method_exists($this, 'setSection')) {
  11. $this->setSection(null);
  12. }
  13. return $this;
  14. }
  15. }