Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Lc\CaracoleBundle\Model\Setting;
  3. use Lc\CaracoleBundle\Doctrine\Extension\FilterMerchantInterface;
  4. use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
  5. use Doctrine\ORM\Mapping as ORM;
  6. use Lc\SovBundle\Doctrine\EntityInterface;
  7. use Lc\SovBundle\Model\Setting\SettingModel as SovSettingModel;
  8. abstract class MerchantSettingModel extends SovSettingModel implements EntityInterface, FilterMerchantInterface
  9. {
  10. /**
  11. * @ORM\ManyToOne(targetEntity="Lc\CaracoleBundle\Model\Merchant\MerchantInterface", inversedBy="settings")
  12. * @ORM\JoinColumn(nullable=false)
  13. */
  14. protected $merchant;
  15. public function getMerchant(): MerchantInterface
  16. {
  17. return $this->merchant;
  18. }
  19. public function setMerchant(MerchantInterface $merchant): self
  20. {
  21. $this->merchant = $merchant;
  22. return $this;
  23. }
  24. }