API reference / Quittio \ Country \ BE \ Support
LanguageRegion
final class in quittio/country-be
Quittio\Country\BE\Support\LanguageRegion · Source
The language region of a Belgian address by its post code: the Dutch language region (Flanders), the French language region (Wallonia without the German-speaking municipalities), the German language region and the bilingual region Brussels-Capital.
The decrees on the use of languages (Flemish Community: decree of 19 July 1973; French Community: decree of 30 June 1982) require documents of businesses that the law prescribes, such as invoices, in the language of the region of the business's place of operation.
Constants#
| Constant | Value | Description |
|---|---|---|
BILINGUAL | 'bilingual' | Brussels-Capital: Dutch or French. |
DUTCH | 'nl' | |
FRENCH | 'fr' | |
GERMAN | 'de' |
Methods#
| Method | Description |
|---|---|
::of() | The region of a Belgian post code, null for one that is not Belgian. |
of()#
public static function of(?string $postcode): ?stringThe region of a Belgian post code, null for one that is not Belgian.
| Parameter | Type | Description |
|---|---|---|
$postcode | ?string |
- Returns
?string