src/AccountableServiceProvider.php
public static function userModel()
    {
        $guard = self::authDriver();

        return collect(config('auth.guards'))
            ->map(function ($guard) {
                return config("auth.providers.{$guard['provider']}.model");
            })->get($guard);
    }
public static function userModel()
    {
        $guard = self::authDriver();

        return collect(config('auth.guards'))
            ->map(function ($guard) {
                return config("auth.providers.{$guard['provider']}.model");
            })->get($guard);
    }
public static function userModel ( ) { $ guard = self :: authDriver ( ) ; return collect ( config ( 'auth.guards' ) ) -> map ( function ( $ guard ) { return config ( "auth.providers.{$guard['provider']}.model" ) ; } ) -> get ( $ guard ) ; }
Returns the user model, based on the configured authentication driver.

@return string
Returns the user model based on the configured authentication driver .