No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

30 líneas
885B

  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, MerchantSettingInterface
  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. }