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.

For more detailed information go to Sylius API LocaleInterface.

LocalesAwareInterface

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

Note

For more detailed information go to Sylius API LocalesAwareInterface.

Service Interfaces

LocaleContextInterface

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

Note

For more detailed information go to Sylius API LocaleContextInterface.

LocaleProviderInterface

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

Note

For more detailed information go to Sylius API LocaleProviderInterface.