Models

Locale

Locale represents one locale available in the application. It uses Symfony Intl component to return locale name. Locale has the following properties:

Property Description
id Unique id of the locale
code Locale’s code
createdAt Date when locale was created
updatedAt Date of last change

Hint

This model has one const STORAGE_KEY it is key used to store the locale in storage.

Note

This model implements the LocaleInterface For more detailed information go to Sylius API Locale.