Merge remote-tracking branch 'origin/main'

This commit is contained in:
2023-03-02 23:17:58 +01:00
6 changed files with 76 additions and 56 deletions
+8
View File
@@ -169,6 +169,14 @@ class Place
}
return $response;
}
public function getFloorsNameAndId(): array
{
$response = array();
foreach ($this->floors as $f) {
$response[] = array('id' => $f->getId(), 'name' => $f->getName());
}
return $response;
}
public function addFloor(Floor $floor): self
{