We’re sorry but this documentation section is outdated. Please have that in mind when trying to use it. You can help us making documentation up to date via Sylius Github. Thank you!
Locale represents one locale available in the application. It uses Symfony Intl component to return locale name. Locale has the following properties:
|id||Unique id of the locale|
|createdAt||Date when locale was created|
|updatedAt||Date of last change|
This model has one const
STORAGE_KEY it is key used to store the locale in storage.