update visibility of entities properties

This commit is contained in:
Simon Vieille 2022-02-14 11:51:09 +01:00
parent dd49f2fff1
commit b1c995a316
4 changed files with 14 additions and 14 deletions

View file

@ -16,33 +16,33 @@ class NavigationSetting implements EntityInterface
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
protected $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $section;
protected $section;
/**
* @ORM\Column(type="string", length=255)
*/
private $label;
protected $label;
/**
* @ORM\Column(type="string", length=255)
*/
private $code;
protected $code;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $value;
protected $value;
/**
* @ORM\ManyToOne(targetEntity=Navigation::class, inversedBy="navigationSettings")
* @ORM\JoinColumn(nullable=false, onDelete="CASCADE")
*/
private $navigation;
protected $navigation;
public function getId(): ?int
{

View file

@ -15,27 +15,27 @@ class Setting implements EntityInterface
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
protected $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $section;
protected $section;
/**
* @ORM\Column(type="string", length=255)
*/
private $label;
protected $label;
/**
* @ORM\Column(type="string", length=255)
*/
private $code;
protected $code;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $value;
protected $value;
public function getId(): ?int
{

View file

@ -63,12 +63,12 @@ class Navigation implements EntityInterface
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $sortOrder;
protected $sortOrder;
/**
* @ORM\OneToMany(targetEntity=NavigationSetting::class, mappedBy="navigation", orphanRemoval=true)
*/
private $navigationSettings;
protected $navigationSettings;
public function __construct()
{

View file

@ -137,7 +137,7 @@ class Node implements EntityInterface
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $contentType;
protected $contentType;
public function __construct()
{