protected function ensureTranslated(&$string)
    {
        if (is_object($string) && $string instanceof TranslationPromise) {
            $string = $string->translate($this->app->language);
        }
    }
protected function ensureTranslated(&$string)
    {
        if (is_object($string) && $string instanceof TranslationPromise) {
            $string = $string->translate($this->app->language);
        }
    }
protected function ensureTranslated ( & $ string ) { if ( is_object ( $ string ) && $ string instanceof TranslationPromise ) { $ string = $ string -> translate ( $ this -> app -> language ) ; } }
Ensure that string is not a Translation promise
@param string|$string
Ensure that string is not a Translation promise