rvanlaak/SettingsBundle

The controllers should allow TranslationInterface from the component too

Opened this issue · 2 comments

Currently we only allow TranslationInterface from Contracts. We should allow the same interface from the component too.

Symfony 3.4 is not using contracts.

The controller uses translations for the exception messages. The exception messages will not be visible to users, as on prod the exception message will not get shown.

In other words; the translations in the controller and the translation files can get removed, and thereby the dev dependency on symfony/translation also can get removed.