src/Dispatcher.php
/**
     * Switches back the locale of the email.
     */
Switches back the locale of the email.
Switches back the locale of the email .
protected function restoreLocaleForMailer(): void
    {
        if (function_exists('is_locale_switched') && $this->params->locale && \is_locale_switched()) {
            \restore_previous_locale();
        }
    }
protected function restoreLocaleForMailer ( ) : void { if ( function_exists ( 'is_locale_switched' ) && $ this -> params -> locale && \ is_locale_switched ( ) ) { \ restore_previous_locale ( ) ; } }
Switches back the locale of the email.
Switches back the locale of the email .