{ | { | ||||
/** | /** | ||||
* @ORM\Column(type="string", length=255) | * @ORM\Column(type="string", length=255) | ||||
* @Gedmo\Slug(fields={"title"}, unique=true) | |||||
* @Gedmo\Slug(fields={"title"}, unique=false) | |||||
*/ | */ | ||||
protected $slug; | protected $slug; | ||||
abstract class SettingModel implements SettingInterface | abstract class SettingModel implements SettingInterface | ||||
{ | { | ||||
/** | /** | ||||
* @ORM\Column(type="string", length=63) | |||||
* @ORM\Column(type="string", length=63, nullable=true) | |||||
*/ | */ | ||||
protected $name; | protected $name; | ||||
return $this->name; | return $this->name; | ||||
} | } | ||||
public function setName(string $name): self | |||||
public function setName(?string $name): self | |||||
{ | { | ||||
$this->name = $name; | $this->name = $name; | ||||
</a> | </a> | ||||
</li> | </li> | ||||
<li class="nav-item"> | <li class="nav-item"> | ||||
<a href="{{ path(sov_homepage_route(), {section: section_slug_current()}) }}" class="btn btn-sm btn-block btn-outline-success" target="_blank" | |||||
<a href="{{ path(sov_homepage_route(), {section: section_current_slug()}) }}" class="btn btn-sm btn-block btn-outline-success" target="_blank" | |||||
rel="noreferrer"> | rel="noreferrer"> | ||||
<i class="action-icon fa fa-eye"></i> | <i class="action-icon fa fa-eye"></i> | ||||
Afficher le site | Afficher le site |