瀏覽代碼

Correctif modèle Page

develop
Guillaume 3 年之前
父節點
當前提交
39b03080cd
共有 1 個檔案被更改,包括 0 行新增36 行删除
  1. +0
    -36
      Model/Site/PageModel.php

+ 0
- 36
Model/Site/PageModel.php 查看文件

@@ -19,18 +19,6 @@ abstract class PageModel extends AbstractFullEntity implements PageInterface
*/
protected $content;

/**
* @ORM\ManyToOne(targetEntity="Lc\CaracoleBundle\Model\Merchant\MerchantInterface", inversedBy="pages")
* @ORM\JoinColumn(nullable=false)
*/
protected $merchant;

/**
* @ORM\ManyToOne(targetEntity="Lc\CaracoleBundle\Model\Section\SectionInterface", inversedBy="pages")
*/
protected $section;


public function __toString()
{
return $this->getTitle();
@@ -48,28 +36,4 @@ abstract class PageModel extends AbstractFullEntity implements PageInterface
return $this;
}

public function getMerchant(): ?MerchantInterface
{
return $this->merchant;
}

public function setMerchant(?MerchantInterface $merchant): self
{
$this->merchant = $merchant;

return $this;
}

public function getSection(): ?SectionInterface
{
return $this->section;
}

public function setSection(?SectionInterface $section): self
{
$this->section = $section;

return $this;
}

}

Loading…
取消
儲存