src/Http/Controllers/AbstractController.php
protected function guessPasswordResetBroker(): string
    {
        $accessarea = str_before(Route::currentRouteName(), '.');
        $passwordResetBroker = str_plural(mb_strstr($accessarea, 'area', true));

        return config('auth.passwords.'.$passwordResetBroker) ? $passwordResetBroker : config('auth.defaults.passwords');
    }
protected function guessPasswordResetBroker(): string
    {
        $accessarea = str_before(Route::currentRouteName(), '.');
        $passwordResetBroker = str_plural(mb_strstr($accessarea, 'area', true));

        return config('auth.passwords.'.$passwordResetBroker) ? $passwordResetBroker : config('auth.defaults.passwords');
    }
protected function guessPasswordResetBroker ( ) : string { $ accessarea = str_before ( Route :: currentRouteName ( ) , '.' ) ; $ passwordResetBroker = str_plural ( mb_strstr ( $ accessarea , 'area' , true ) ) ; return config ( 'auth.passwords.' . $ passwordResetBroker ) ? $ passwordResetBroker : config ( 'auth.defaults.passwords' ) ; }
Guess password reset broker from accessarea.

@return string
Guess password reset broker from accessarea .