Skip to content

City ​

php
class StanislasPoisson\FrenchPostalCode\Symfony\Entity\City

Source: src/Symfony/Entity/City.php

Methods ​

getAddressCount() ​

php
public function getAddressCount(): int

getCommune() ​

php
public function getCommune(): Commune

getCoordinateSource() ​

php
public function getCoordinateSource(): string

ban, nominatim or commune_centre.

getId() ​

php
public function getId(): int

getLabel() ​

php
public function getLabel(): string

getLatitude() ​

php
public function getLatitude(): float

getLongitude() ​

php
public function getLongitude(): float

getPostalCode() ​

php
public function getPostalCode(): string

getReplacedBy() ​

php
public function getReplacedBy(): City

The city that replaces this one once its validity is closed.

getValidFrom() ​

php
public function getValidFrom(): DateTimeImmutable

getValidTo() ​

php
public function getValidTo(): DateTimeImmutable

isCurrent() ​

php
public function isCurrent(): bool

Documentation of next , built from 068662f on main by pipeline #37508150537 on 2026-10-06.