Implement commands

This commit is contained in:
Tim
2023-08-16 16:04:35 +02:00
parent 1ee5c1c992
commit f8d1c66934
17 changed files with 200 additions and 48 deletions

View File

@ -10,4 +10,22 @@ class Book
{
#[ORM\Id, ORM\Column, ORM\GeneratedValue]
private int $id;
#[ORM\Column]
private string $title;
public function getId(): int
{
return $this->id;
}
public function getTitle(): string
{
return $this->title;
}
public function setTitle(string $title): void
{
$this->title = $title;
}
}