You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.
We sometimes need PrestaShop code to act according to the version of the Shop.
This can be for addons API, some iframes or retrieve Localisation packs.
Currently, we end up with multiples helpers functions everywhere in the code.
It's time to extract a utility class, and declare it as a service so we can unit test it and rely on it everywhere.
WDYT?
The text was updated successfully, but these errors were encountered: