Translator Implementation - findbrok/laravel-watson-translate GitHub Wiki
It may occur that you do not want to use the default translator implementation but instead would like to override the functions available or even add more functions to the translator.
You may do so by changing the default translator implementation in the config/watson-translate.php file.
/*
|--------------------------------------------------------------------------
| Translator Implementation
|--------------------------------------------------------------------------
|
| By default the interface is implemented by FindBrok\WatsonTranslate\Translator
| Change this value to your own implementation if you wish to override the
| implementation of the Translator interface
|
*/
'translator_implementation' => 'FindBrok\WatsonTranslate\Translator',
Be sure to specify the full namespace for your class implementation for the translator interface, furthermore your class should implement all methods from FindBrok\WatsonTranslate\Contracts\TranslatorInterface