mirror of
https://gitlab.aliens-lyon.fr/encartes/backend.git
synced 2026-09-11 16:50:46 +02:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user