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
Replace the $writer service injected in TranslationUpdateCommand with a custom writer that implements TranslationWriterInterface without having a getFormat() method (which is not part of the interface)
Call the command and see the error Attempted to call an undefined method named "getFormats" of class "App\MyCustomTranslationWriter"
Possible Solution
Add the getFormat() method to the TranslationWriterInterface