Allow ceating and editing snips

This commit is contained in:
Tim
2023-04-04 00:36:35 +02:00
parent 921dcf1e97
commit dce2fbff42
7 changed files with 75 additions and 32 deletions

View File

@ -19,6 +19,11 @@ class Snip
#[ORM\Column(length: 255)]
private ?string $name = null;
public function __toString(): string
{
return $this->name ?? '';
}
public function getId(): ?int
{
return $this->id;