Browse Source

Correctif modèle Page

develop
Guillaume 3 years ago
parent
commit
39b03080cd
1 changed files with 0 additions and 36 deletions
  1. +0
    -36
      Model/Site/PageModel.php

+ 0
- 36
Model/Site/PageModel.php View File

*/ */
protected $content; 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() public function __toString()
{ {
return $this->getTitle(); return $this->getTitle();
return $this; 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…
Cancel
Save