Interfaces¶

Danger

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!

Model Interfaces¶

LocaleInterface¶

This interface should be implemented by models representing a single Locale.

Note

This interface extends CodeAwareInterface and TimestampableInterface.

LocalesAwareInterface¶

This interface provides basic operations for locale management. If you want to have locales in your model just implement this interface.

Service Interfaces¶

LocaleContextInterface¶

This interface is implemented by the service responsible for managing the current locale.

LocaleProviderInterface¶

This interface is implemented by the service responsible for providing you with a list of available locales.