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.

StoreTrait.php 316B

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