Implement snip content names

This commit is contained in:
Tim
2025-05-13 13:47:33 +02:00
parent 62136a0ca0
commit 5ae5db985b
8 changed files with 74 additions and 10 deletions

View File

@ -35,6 +35,9 @@ class SnipContent
#[ORM\Column(nullable: true)]
private ?array $diff = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $name = null;
public function __construct()
{
$this->children = new ArrayCollection();
@ -122,4 +125,16 @@ class SnipContent
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): static
{
$this->name = $name;
return $this;
}
}