From afae71919e7c624f09930bb0105e7c954cad2d35 Mon Sep 17 00:00:00 2001 From: Mysaa Date: Tue, 21 Feb 2023 16:55:20 +0100 Subject: [PATCH] Ajout dans la todolist. --- README.md | 6 ++++-- src/Entity/Place.php | 4 ---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 70b0835..4f2c691 100644 --- a/README.md +++ b/README.md @@ -29,5 +29,7 @@ Your installation should be complete, you can run `symfony local:server:start` t ## Todolist - [x] Make the base project -- [ ] Hide password from configfile using symfony vaults -- [ ] (Automatic) API documentation +- [x] Hide password from configfile using symfony vaults +- [x] API documentation +- [ ] Use a representation superclass (both db and php) +- [ ] Use a php enum and a pgsql enum for place type diff --git a/src/Entity/Place.php b/src/Entity/Place.php index bf5cdf7..47dd125 100644 --- a/src/Entity/Place.php +++ b/src/Entity/Place.php @@ -8,10 +8,6 @@ use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; #[ORM\Entity(repositoryClass: PlaceRepository::class)] -// #[ORM\MappedSuperclass] -// #[ORM\InheritanceType("JOINED")] -// #[ORM\DiscriminatorColumn(name: "type", type: "string")] -// #[ORM\DiscriminatorMap(["room" => Room::class, "corridor" => Corridor::class])] class Place { #[ORM\Id]