up stats par rue et dans le temps

This commit is contained in:
Tykayn 2025-07-12 12:03:40 +02:00 committed by tykayn
parent cd6c14c378
commit 7355600e6b
8 changed files with 409 additions and 5 deletions

View file

@ -752,4 +752,17 @@ class Place
$this->emailContent = $emailContent;
return $this;
}
public function toArray(): array
{
return [
'name' => $this->getName(),
'mainTag' => $this->getMainTag(),
'housenumber' => $this->getHousenumber(),
'street' => $this->getStreet(),
'completionPercentage' => $this->getCompletionPercentage(),
'lat' => $this->getLat(),
'lon' => $this->getLon(),
];
}
}